Skip to content
Snippets Groups Projects
Commit ebdbdcf4 authored by Florian Schröder's avatar Florian Schröder
Browse files

Remove dummy callbacks from overcooked_environment

The dummy callbacks previously used for testing in the file 'overcooked_environment.py' have been removed. This has been done to avoid redundancy and ensure cleaner code. The comments referencing these callbacks have been updated accordingly.
parent 6f16f87c
No related branches found
No related tags found
1 merge request!46Resolve "Hooks"
Pipeline #45364 passed
......@@ -41,7 +41,6 @@ from overcooked_simulator.hooks import (
ACTION_ON_NOT_REACHABLE_COUNTER,
ACTION_PUT,
ACTION_INTERACT_START,
add_dummy_callbacks,
)
from overcooked_simulator.order import (
OrderAndScoreManager,
......@@ -129,8 +128,7 @@ class Environment:
"""Hook manager. Register callbacks and create hook points with additional kwargs."""
# init callbacks here from config
# test:
add_dummy_callbacks(self)
# add_dummy_callbacks(self)
self.players: dict[str, Player] = {}
"""the player, keyed by their id/name."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment