Change Action

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

Change action.png

Definition: The Change action lets an agent move randomly onto any of its immediate neighbors that have a shape displayed in the Shape parameter. The agent chooses one of its nine qualifying neighbors (the eight around it and the current location) to move onto at random.
Parameters: shape
Additional Parameters: animation, time: the move random on action can animate the movement with accelerated or constant speed; and it can make the movement happen instantly (if time is 0) or it can take any amount of time to perform the animation. The slider() option in the time parameter connects the animation time to the slider located above the world, next to the other world controls.
Example: ???WHICH EXAMPLE??? 500px