mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-06-20 03:08:08 +02:00
WIP: removing tiles
This commit is contained in:
@ -38,7 +38,7 @@ class AgentSingleZonePlacement(Rule):
|
||||
|
||||
z_idxs = choices(list(range(len(state[z.ZONES]))), k=n_agents)
|
||||
for agent in state[c.AGENT]:
|
||||
agent.move(state[z.ZONES][z_idxs.pop()].random_tile)
|
||||
agent.move(state[z.ZONES][z_idxs.pop()].random_tile, state)
|
||||
return []
|
||||
|
||||
def tick_step(self, state):
|
||||
|
Reference in New Issue
Block a user