mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-09-18 00:21:58 +02:00
New Szenario "Two_Rooms_One_Door"
This commit is contained in:
@@ -12,6 +12,10 @@ from marl_factory_grid.modules.doors import constants as d
|
||||
|
||||
class Zone(Object):
|
||||
|
||||
@property
|
||||
def positions(self):
|
||||
return [x.pos for x in self.tiles]
|
||||
|
||||
def __init__(self, tiles: List[Floor], *args, **kwargs):
|
||||
super(Zone, self).__init__(*args, **kwargs)
|
||||
self.tiles = tiles
|
||||
|
Reference in New Issue
Block a user