Difference between revisions of "Erase Action"

From AgentCubes
Jump to navigation Jump to search
imported>Andri
imported>Andri
Line 1: Line 1:
 +
[[image:Erase action.png|150px]]
 +
 +
<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>Erase</strong> action erases the agent located in the cell indicated by the Direction parameter. Executing the Erase action is the same as applying the Eraser tool. The dot (.) refers to the agent itself, so it can remove itself from the world.</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%">
 +
 +
[[Image:Erase action example.png|500px]]</td>
 +
</tr>
 +
 +
</table>
 +
 
[[Category:AgentCubes_Actions]]
 
[[Category:AgentCubes_Actions]]

Revision as of 23:43, 17 June 2011

150px

Definition: The Erase action erases the agent located in the cell indicated by the Direction parameter. Executing the Erase action is the same as applying the Eraser tool. The dot (.) refers to the agent itself, so it can remove itself from the world.
Parameters: direction
Example: 500px