Difference between revisions of "Erase Action"

From AgentCubes
Jump to navigation Jump to search
imported>Mike
imported>Corrina
 
Line 1: Line 1:
[[image:Erase Action.png|150px]]
+
[[Image:Erase Action.png|150px|Erase 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>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>
+
| align="left" valign="top" width="100%" | The '''Erase''' action: ''erases the agent located in the cell indicated.''
</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%" | [[Direction parameter|direction]]: ''specifies which agent, self or adjacent, to erase.''
<td align="left" valign="top" width="100%">[[Direction parameter|direction]]</td>
+
|-
</tr>
+
| align="left" valign="top" width="80" | '''Example:'''
<tr>
+
| align="left" valign="top" width="100%" | [[Image:Erase action example.png|500px]]
<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]]

Latest revision as of 20:38, 20 April 2012

Erase Action.png

Definition: The Erase action: erases the agent located in the cell indicated.
Parameters: direction: specifies which agent, self or adjacent, to erase.
Example: 500px