mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-06-20 03:08:08 +02:00
Redone the spawn procedute and destination objects
This commit is contained in:
@ -19,7 +19,7 @@ class ZoneInit(Rule):
|
||||
while z_idx:
|
||||
zone_positions = lvl_map.get_coordinates_for_symbol(z_idx)
|
||||
if len(zone_positions):
|
||||
zones.append(Zone([state[c.FLOOR].by_pos(pos) for pos in zone_positions]))
|
||||
zones.append(Zone([state[c.FLOORS].by_pos(pos) for pos in zone_positions]))
|
||||
z_idx += 1
|
||||
else:
|
||||
z_idx = 0
|
||||
|
Reference in New Issue
Block a user