New Action
Revision as of 23:40, 17 June 2011 by imported>Andri
Definition: | The New action generates a new agent in the cell indicated by the Direction parameter. The new agent has the shape selected in the action's Shape parameter. |
Parameters: | direction, shape |
Additional Parameters: | layer |
Example: | In the Frogger game, the Tunnel agent generates new Trucks to its right, once every 0.6 seconds, with a 25% chance, as long as there is road where it is supposed to create the new car (to avoid piling cars on top of each other). |