Message-In-Stack Action
Revision as of 22:41, 4 April 2012 by imported>Mike
Definition: | The delayed-message action will trigger a message in this agent after a specified amount of time. Note that it is not possible to send delayed messages to other agents. |
Parameters: | method, message_in_stack |
Example 1: |
Move after 2 second: This agent has two methods delayed_move and move, when it receives a delayed_move message it will wait 2 second then call its own move method which will move it randomly.
|