Click or drag to resize
OrganismStateIsAdjacentOrOverlapping Method

Determines if a creature is immediately next to or overlapping another creature using grid cells comparisons.

Namespace: Terrarium.Sdk.Classes.State
Assembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public bool IsAdjacentOrOverlapping(
	OrganismState state2
)

Parameters

state2
Type: Terrarium.Sdk.Classes.StateOrganismState
OrganismState of the creature to check for proximity.

Return Value

Type: Boolean
True if the creature is adjacent or overlapping, False otherwise.
See Also