mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-06-20 03:08:08 +02:00
introduced base factory concept
This commit is contained in:
@ -55,7 +55,6 @@ class BaseFactory(object):
|
||||
(x, y), (x_new, y_new) = old_pos, new_pos
|
||||
self.state[agent_i+1, x, y] = 0
|
||||
self.state[agent_i+1, x_new, y_new] = 1
|
||||
print(old_pos, new_pos)
|
||||
|
||||
def handle_collisions(self, vecs):
|
||||
pass
|
||||
|
Reference in New Issue
Block a user