Difference between revisions of "Stacked Condition"

From AgentCubes
Jump to navigation Jump to search
imported>Andri
imported>Corrina
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Image:Stacked.png|200px|Stacked.png]]
 +
 +
{| cellpadding="10" cellspacing="0" border="0" width="100%"
 +
|-
 +
| align="left" valign="top" width="80" | '''Definition:'''
 +
| align="left" valign="top" width="100%" | The '''Stacked''' condition: ''checks if the agent's location in relation to the agent specified by the exact&nbsp;''[[Shape parameter|''shape'']]''matches the adjacency choice.''<br>
 +
====== The difference between the Stacked and the [[Stacked-a Condition|Stacked-A]] conditions is that the Stacked condition checks for a specific shape/look and is true only if the agent has that exact depiction, whereas Stacked-A checks for any depiction of the given agent and is true regardless of how the agent looks.  ======
 +
 +
|-
 +
| align="left" valign="top" width="80" | '''Parameters:'''
 +
| align="left" valign="top" width="100%" |
 +
[[Adjacency parameter|adjacency]]: ''where to look for the target agent''
 +
 +
[[Shape parameter|shape]]: ''the exact depiction of agent to look for''
 +
 +
|-
 +
| align="left" valign="top" width="80" | '''Example:'''
 +
| align="left" valign="top" width="100%" | <br>
 +
|}
 +
 
[[Category:AgentCubes_Conditions]]
 
[[Category:AgentCubes_Conditions]]

Latest revision as of 01:13, 21 April 2012

Stacked.png

Definition: The Stacked condition: checks if the agent's location in relation to the agent specified by the exact shapematches the adjacency choice.
The difference between the Stacked and the Stacked-A conditions is that the Stacked condition checks for a specific shape/look and is true only if the agent has that exact depiction, whereas Stacked-A checks for any depiction of the given agent and is true regardless of how the agent looks.
Parameters:

adjacency: where to look for the target agent

shape: the exact depiction of agent to look for

Example: