Difference between revisions of "Change Action"

From AgentCubes
Jump to navigation Jump to search
imported>Andri
imported>Corrina
Line 1: Line 1:
[[image:Change action.png|200px]]
+
[[Image:Change action.png|200px|Change action.png]]  
  
<table cellpadding="10" cellspacing="0" border="0" width="100%">
+
{| cellpadding="10" cellspacing="0" border="0" width="100%"
<tr>
+
|-
<td align="left" valign="top" width="80"><b>Definition:</b></td>
+
| align="left" valign="top" width="80" | '''Definition:'''
<td align="left" valign="top" width="100%">The <strong>Change</strong> action lets an agent move randomly onto any of its immediate neighbors that have a shape displayed in the [[Shape parameter]]. The agent chooses one of its nine qualifying neighbors (the eight around it and the current location) to move onto at random.</td>
+
| align="left" valign="top" width="100%" | The '''Change''' action: ''changes a specified agent to the depiction specified.&nbsp;''
</tr>
+
|-
<tr>
+
| align="left" valign="top" width="80" | '''Parameters:'''
<td align="left" valign="top" width="80"><b>Parameters:</b></td>
+
| align="left" valign="top" width="100%" | [[Shape parameter|shape]]:&nbsp;
<td align="left" valign="top" width="100%">[[Shape parameter|shape]]</td>
+
|-
</tr>
+
| align="left" valign="top" width="80" | '''Additional Parameters:'''
<tr>
+
| align="left" valign="top" width="100%" | [[Animation parameter|animation]], [[Animation time parameter|time]]: the move random on action can animate the movement with accelerated or constant speed; and it can make the movement happen instantly (if time is 0) or it can take any amount of time to perform the animation. The slider() option in the time parameter connects the animation time to the slider located above the world, next to the other world controls.
<td align="left" valign="top" width="80"><b>Additional Parameters:</b></td>
+
|-
<td align="left" valign="top" width="100%">[[Animation parameter|animation]], [[Animation time parameter|time]]: the move random on action can animate the movement with accelerated or constant speed; and it can make the movement happen instantly (if time is 0) or it can take any amount of time to perform the animation. The slider() option in the time parameter connects the animation time to the slider located above the world, next to the other world controls.</td>
+
| align="left" valign="top" width="80" | '''Example:'''
</tr>
+
| align="left" valign="top" width="100%" | &nbsp;[[Image:Change action example.png|500px]]
<tr>
+
|}
<td align="left" valign="top" width="80"><b>Example:</b></td>
 
<td align="left" valign="top" width="100%">???WHICH EXAMPLE???
 
[[Image:Change action example.png|500px]]</td>
 
</tr>
 
 
 
</table>
 
  
 
[[Category:AgentCubes_Actions]]
 
[[Category:AgentCubes_Actions]]

Revision as of 20:24, 20 April 2012

Change action.png

Definition: The Change action: changes a specified agent to the depiction specified. 
Parameters: shape
Additional Parameters: animation, time: the move random on action can animate the movement with accelerated or constant speed; and it can make the movement happen instantly (if time is 0) or it can take any amount of time to perform the animation. The slider() option in the time parameter connects the animation time to the slider located above the world, next to the other world controls.
Example:  500px