IAnimalWorldBoundary Interface |
Namespace: Terrarium.Sdk.Interfaces
The IAnimalWorldBoundary type exposes the following members.
Name | Description | |
---|---|---|
![]() | LookFor |
Used to look for a creature given an organism state. The organism
state can be stale, and the LookFor function will attempt to return
an updated state for the latest tick.
|
![]() | LookForNoCamouflage | |
![]() | RefreshState |
Used to look for a creature given an organism ID. If the creature
is visible the state will be returned. If not null should be
returned.
|
![]() | Scan |
Provides a method for the creature to scan the surrounding area
and discover both hidden and visible creatures within your site
range.
|
Name | Description | |
---|---|---|
![]() | CurrentAnimalState |
Retrieves the current state of a creature within the world. This
state will be immutable and can't be changed, and actually represents
an animal state for the previous tick and not the currently executed
tick.
|
![]() | CurrentOrganismState |
Gets the most up to date state object for the current
creature.
(Inherited from IOrganismWorldBoundary.) |
![]() | ID |
Retrieves the organism ID representing your creature within the world.
(Inherited from IOrganismWorldBoundary.) |
![]() | WorldHeight |
Returns the height of the world in game units (pixels).
(Inherited from IOrganismWorldBoundary.) |
![]() | WorldWidth |
Returns the width of the world in game units (pixels);
(Inherited from IOrganismWorldBoundary.) |