small error fixes reset sanity and self sanity almost lost

This commit is contained in:
Steffen Illium
2023-11-10 17:40:27 +01:00
parent 9b289591ba
commit b6ab6ab652
7 changed files with 30 additions and 31 deletions

View File

@ -86,6 +86,10 @@ class Gamestate(object):
self.rules = StepRules(*rules)
self._floortile_graph = None
def reset(self):
self.curr_step = 0
self.curr_actions = None
def __getitem__(self, item):
return self.entities[item]