Difference between revisions of "Transport Action"

From AgentCubes
Jump to navigation Jump to search
imported>Corrina
imported>Corrina
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Image:Transport action.png|150px|Transport.png]]  
+
[[Image:Transport.png|150px|Transport.png]] <br> [[Image:Transport expand.png|150px|Transport_expand.png]]  
  
 
{| cellpadding="10" cellspacing="0" border="0" width="100%"
 
{| cellpadding="10" cellspacing="0" border="0" width="100%"
 
|-
 
|-
| align="left" valign="top" width="80" | '''Definition:'''
+
| 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 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.
+
| 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="80" | '''Parameters:'''  
| align="left" valign="top" width="100%" | [[Direction parameter|direction]]
+
| align="left" valign="top" width="100%" | [[Direction parameter|direction]]: ''which direction to move''
 
|-
 
|-
| align="left" valign="top" width="80" | '''Example:'''
+
| width="80" valign="top" align="left" | '''Additional Parameters:'''
| 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|Move action example.png]]
+
| width="100%" valign="top" align="left" |
 +
[[VAT Formula parameter|layer]]: ''layer to place the agent''
 +
 
 +
[[World parameter|world]]: ''world in which to place the agent''
 +
 
 +
[[Animation parameter|animation]]:&nbsp;''constant or accelerated speed of animation''
 +
 
 +
[[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: