Movement printing and Results, state, state reset.

This commit is contained in:
Steffen Illium
2023-11-16 17:08:08 +01:00
parent 7f1d99fe18
commit 6c27aa8eaf
11 changed files with 45 additions and 21 deletions

View File

@@ -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,