mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-06-22 03:31:35 +02:00
small error fixes reset sanity and self sanity almost lost
This commit is contained in:
@ -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]
|
||||
|
||||
|
Reference in New Issue
Block a user