Move Action

From AgentCubes
Revision as of 21:15, 17 June 2011 by imported>Andri
Jump to navigation Jump to search

150px

Definition: The move action moves an agent one cell in the direction indicated by the Direction parameter. If the dot (.) is selected, the agent will do nothing; it will leave the agent at its current position.
Parameters: direction
Example: In the Frogger game, the Truck agent moves to the right once every half a second, as long as there is road there (second rule in the behavior below). Move action example.png