Difference between revisions of "Stacked-a Condition"

From AgentCubes
Jump to navigation Jump to search
imported>Corrina
imported>Corrina
Line 3: Line 3:
 
{| cellpadding="10" cellspacing="0" border="0" width="100%"
 
{| cellpadding="10" cellspacing="0" border="0" width="100%"
 
|-
 
|-
| align="left" valign="top" width="80" | '''Definition:'''
+
| align="left" valign="top" width="80" | '''Definition:'''  
 
| align="left" valign="top" width="100%" | The '''Stacked-a''' condition: ''checks if the agent's location in relation to the agent specified by the ''[[Agent Class Name parameter|''agent class'']]''matches the adjacency choice.&nbsp;''<br>  
 
| align="left" valign="top" width="100%" | The '''Stacked-a''' condition: ''checks if the agent's location in relation to the agent specified by the ''[[Agent Class Name parameter|''agent class'']]''matches the adjacency choice.&nbsp;''<br>  
 
====== ''The difference between the ''[[Stacked Condition|''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.''  ======
 
====== ''The difference between the ''[[Stacked Condition|''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.''  ======
  
 
|-
 
|-
| align="left" valign="top" width="80" | '''Parameters:'''
+
| align="left" valign="top" width="80" | '''Parameters:'''  
 
| align="left" valign="top" width="100%" |  
 
| align="left" valign="top" width="100%" |  
[[Adjacency parameter|adjacency]]: ''where to look for the target agent''
+
[[Adjacency parameter|adjacency]]: ''where to look for the target agent''  
  
[[Shape parameter|shape]]: ''what sort of target agent to look for''
+
[[Shape parameter|shape]]: ''what sort of target agent to look for''  
  
 
|-
 
|-
| align="left" valign="top" width="80" | '''Example:'''
+
| align="left" valign="top" width="80" | '''Example:'''  
 
| align="left" valign="top" width="100%" | <br>
 
| align="left" valign="top" width="100%" | <br>
 
|}
 
|}
  
 
[[Category:AgentCubes_Conditions]]
 
[[Category:AgentCubes_Conditions]]

Revision as of 01:08, 21 April 2012

Stacked a.png

Definition: The Stacked-a condition: checks if the agent's location in relation to the agent specified by the agent classmatches the adjacency choice. 
The difference between the Stackedand 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: what sort of target agent to look for

Example: