Difference between revisions of "New Action"

From AgentCubes
Jump to navigation Jump to search
imported>Andri
m (moved New to New Action)
imported>Andri
Line 1: Line 1:
 +
[[image:New action.png|200px]]
 +
 +
<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>New</strong> action generates a new agent in the cell indicated by the [[Direction parameter]]. The new agent has the shape selected in the action's [[Shape parameter]].</td>
 +
</tr>
 +
<tr>
 +
<td align="left" valign="top" width="80"><b>Parameters:</b></td>
 +
<td align="left" valign="top" width="100%">[[Direction parameter|direction]], [[Shape parameter|shape]]</td>
 +
</tr>
 +
<tr>
 +
<td align="left" valign="top" width="80"><b>Example:</b></td>
 +
<td align="left" valign="top" width="100%">???WHICH EXAMPLE???
 +
[[Image:New action example.png|500px]]</td>
 +
</tr>
 +
 +
</table>
 +
 
[[Category:AgentCubes_Actions]]
 
[[Category:AgentCubes_Actions]]

Revision as of 23:31, 17 June 2011

New action.png

Definition: The New action generates a new agent in the cell indicated by the Direction parameter. The new agent has the shape selected in the action's Shape parameter.
Parameters: direction, shape
Example: ???WHICH EXAMPLE??? New action example.png