Skip to content
Snippets Groups Projects
Forked from Flatland / Flatland
Source project has a limited visibility.
MLErik's avatar
Erik Nygren authored
At each step we first check for possible malfunctions.
THen we apply them and do all the agent steps
At the end we look at what agents should be fixed. This lead so to:

Current malfunction value says how many step calls are necessary till agent can move again

e.g. malfunction = 2, we have to call step() twice untill the agent can move again.

Code cleanup
c85e08ee
History
Name Last commit Last update