mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2026-07-15 23:31:52 +02:00
New Szenario "Two_Rooms_One_Door"
This commit is contained in:
@@ -72,7 +72,7 @@ class Door(Entity):
|
||||
|
||||
def render(self):
|
||||
name, state = 'door_open' if self.is_open else 'door_closed', 'blank'
|
||||
return RenderEntity(name, self.pos, 1, 'none', state, self.identifier_int + 1)
|
||||
return RenderEntity(name, self.pos, 1, 'none', state, self.u_int + 1)
|
||||
|
||||
def use(self):
|
||||
if self._status == d.STATE_OPEN:
|
||||
|
||||
Reference in New Issue
Block a user