mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-07-06 09:31:35 +02:00
TSP Single Agent
This commit is contained in:
@ -320,6 +320,9 @@ class Agents(MovingEntityObjectRegister):
|
||||
def positions(self):
|
||||
return [agent.pos for agent in self]
|
||||
|
||||
def __setitem__(self, key, value):
|
||||
self._register[self[key].name] = value
|
||||
|
||||
|
||||
class Doors(EntityObjectRegister):
|
||||
|
||||
|
Reference in New Issue
Block a user