Difference between revisions of "Transport Action"

From AgentCubes
Jump to navigation Jump to search
imported>Mike
imported>Corrina
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[image:Transport.png|150px]]
+
[[Image:Transport.png|150px|Transport.png]] <br> [[Image:Transport expand.png|150px|Transport_expand.png]]  
  
[[image:Transport directions.png|150px]]
+
{| cellpadding="10" cellspacing="0" border="0" width="100%"
 +
|-
 +
| align="left" valign="top" width="80" | '''Definition:'''
 +
| align="left" valign="top" width="100%" | The '''Transport''' ''action moves an agent one cell in the direction indicated and&nbsp;everything that is piled on top along with it''
 +
|-
 +
| align="left" valign="top" width="80" | '''Parameters:'''
 +
| align="left" valign="top" width="100%" | [[Direction parameter|direction]]: ''which direction to move''
 +
|-
 +
| width="80" valign="top" align="left" | '''Additional Parameters:'''
 +
| width="100%" valign="top" align="left" |
 +
[[VAT Formula parameter|layer]]: ''layer to place the agent''
  
[[image:Transport expanded.png|150px]]
+
[[World parameter|world]]: ''world in which to place the agent''
  
<table cellpadding="10" cellspacing="0" border="0" width="100%">
+
[[Animation parameter|animation]]:&nbsp;''constant or accelerated speed of animation''
<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>
+
[[Animation time parameter|time]]: ''the slider() option in the time parameter connects the animation time to the slider located above the world''
 +
 
 +
|-
 +
| align="left" valign="top" width="80" | '''Example:'''
 +
| align="left" valign="top" width="100%" |
 +
|}
  
 
[[Category:AgentCubes_Actions]]
 
[[Category:AgentCubes_Actions]]

Latest revision as of 00:53, 21 April 2012

Transport.png
Transport_expand.png

Definition: The Transport action moves an agent one cell in the direction indicated and everything that is piled on top along with it
Parameters: direction: which direction to move
Additional Parameters:

layer: layer to place the agent

world: world in which to place the agent

animationconstant or accelerated speed of animation

time: the slider() option in the time parameter connects the animation time to the slider located above the world

Example: