Skip to content
Snippets Groups Projects
  • Florian Schröder's avatar
    0a75551a
    Refactor progress counter handling in overcooked simulator · 0a75551a
    Florian Schröder authored
    The commit refines the way the 'progress' method is called on counters in the overcooked simulator. Utilizing Python's introspection functions, the update identifies the relevant counter classes dynamically on setup, and stores them. Simplified calls to these relevant counters are then performed during steps in the simulation. Additionally, the code now checks the superclass with the built-in 'issubclass' function to create counters.
    0a75551a
    History
    Refactor progress counter handling in overcooked simulator
    Florian Schröder authored
    The commit refines the way the 'progress' method is called on counters in the overcooked simulator. Utilizing Python's introspection functions, the update identifies the relevant counter classes dynamically on setup, and stores them. Simplified calls to these relevant counters are then performed during steps in the simulation. Additionally, the code now checks the superclass with the built-in 'issubclass' function to create counters.