Difference between revisions of "Transport Action"

From AgentCubes
Jump to navigation Jump to search
imported>Andri
imported>Andri
Line 1: Line 1:
 +
[[image:Transport action.png|150px]]
  
 +
<table cellpadding="10" cellspacing="0" border="0" width="100%">
 +
<tr>
 +
<td align="left" valign="top" width="80"><b>Definition:</b></td>
 +
<td align="left" valign="top" width="100%">The <strong>Transport</strong> action moves an agent one cell in the direction indicated by the [[Direction parameter]] and transports everything that is piled on top along with it. If the dot (.) is selected, the agent will do nothing; it will leave the agent and anything stacked on top of it at its current position.</td>
 +
</tr>
 +
<tr>
 +
<td align="left" valign="top" width="80"><b>Parameters:</b></td>
 +
<td align="left" valign="top" width="100%">[[Direction parameter|direction]]</td>
 +
</tr>
 +
<tr>
 +
<td align="left" valign="top" width="80"><b>Example:</b></td>
 +
<td align="left" valign="top" width="100%">In the Frogger game, the Log agent transports the right once every half a second, as long as there is water ahead of it. This will actually transport the Frog if it lands on top of a log.
 +
[[Image:Move action example.png|500px]]</td>
 +
</tr>
 +
 +
</table>
  
 
[[Category:AgentCubes_Actions]]
 
[[Category:AgentCubes_Actions]]

Revision as of 21:50, 17 June 2011

150px

Definition: The Transport action moves an agent one cell in the direction indicated by the Direction parameter and transports everything that is piled on top along with it. If the dot (.) is selected, the agent will do nothing; it will leave the agent and anything stacked on top of it at its current position.
Parameters: direction
Example: In the Frogger game, the Log agent transports the right once every half a second, as long as there is water ahead of it. This will actually transport the Frog if it lands on top of a log. Move action example.png