Stacked-a Condition

From AgentCubes
Jump to navigation Jump to search

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

shapewhat sort of target agent to look for

Example: