mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-07-05 09:01:36 +02:00
All relevant functional code for A2C Dirt Quadrant setting with small changes to the environment + Different configs for single agent and multiagent settings
This commit is contained in:
@ -118,6 +118,10 @@ class Gamestate(object):
|
||||
self._floortile_graph = None
|
||||
self.tests = StepTests(*tests)
|
||||
|
||||
# Pointer that defines current spawn points of agents
|
||||
for agent in self.agents_conf:
|
||||
self.agents_conf[agent]["pos_pointer"] = 0
|
||||
|
||||
def reset(self):
|
||||
self.curr_step = 0
|
||||
self.curr_actions = None
|
||||
|
Reference in New Issue
Block a user