mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-12-06 15:40:37 +01:00
New Szenario "Two_Rooms_One_Door"
This commit is contained in:
@@ -76,6 +76,9 @@ class Gamestate(object):
|
||||
def __iter__(self):
|
||||
return iter(e for e in self.entities.values())
|
||||
|
||||
def __contains__(self, item):
|
||||
return item in self.entities
|
||||
|
||||
def __repr__(self):
|
||||
return f'{self.__class__.__name__}({len(self.entities)} Entitites @ Step {self.curr_step})'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user