mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-12-06 15:40:37 +01:00
Movement printing and Results, state, state reset.
This commit is contained in:
@@ -132,7 +132,8 @@ class WatchCollisions(Rule):
|
||||
for i, guest in enumerate(guests):
|
||||
try:
|
||||
guest.set_state(TickResult(identifier=c.COLLISION, reward=self.reward,
|
||||
validity=c.NOT_VALID, entity=self))
|
||||
validity=c.NOT_VALID, entity=guest)
|
||||
)
|
||||
except AttributeError:
|
||||
pass
|
||||
results.append(TickResult(entity=guest, identifier=c.COLLISION,
|
||||
|
||||
Reference in New Issue
Block a user