diff --git a/flatland/envs/agent_utils.py b/flatland/envs/agent_utils.py index 5105ec5dfb792895a7361060431d84d8ceb5c39e..09d796d4947b840edfa5288df195eda6c7c7e1d2 100644 --- a/flatland/envs/agent_utils.py +++ b/flatland/envs/agent_utils.py @@ -31,7 +31,7 @@ class EnvAgentStatic(object): target = attrib() moving = attrib() - def __init__(self, position, direction, target): + def __init__(self, position, direction, target, moving=False): self.position = position self.direction = direction self.target = target