mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-05-23 07:16:44 +02:00
updated base factory
This commit is contained in:
parent
65cf5c5c6f
commit
6b4ccf0a24
@ -77,7 +77,7 @@ class BaseFactory:
|
||||
dim=agent_i + h.AGENT_START_IDX,
|
||||
action=action)
|
||||
if valid:
|
||||
# Does not collide width level boundrys
|
||||
# Does not collide width level boundaries
|
||||
self.move(agent_i, old_pos, new_pos)
|
||||
return new_pos, valid
|
||||
return old_pos, valid
|
||||
|
Loading…
x
Reference in New Issue
Block a user