Difference between revisions of "Transport Action"

From AgentCubes
Jump to navigation Jump to search
imported>Corrina
imported>Corrina
Line 1: Line 1:
[[Image:Transport.png|150px|Transport.png]] <br>
+
[[Image:Transport.png|150px|Transport.png]] <br> [[Image:Transport expand.png|150px|Transport_expand.png]]  
[[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:'''
+
| align="left" valign="top" width="80" | '''Example:'''  
| 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]]
+
| align="left" valign="top" width="100%" |  
 
|}
 
|}
  
 
[[Category:AgentCubes_Actions]]
 
[[Category:AgentCubes_Actions]]

Revision as of 00:45, 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
Example: