Click or drag to resize
IAnimalWorldBoundary Interface
This class represents an Animal's view of the world. An interface is used because the creature needs something to link against, while the actual object exists within the Terrarium Client executable.

Namespace: Terrarium.Sdk.Interfaces
Assembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public interface IAnimalWorldBoundary : IOrganismWorldBoundary

The IAnimalWorldBoundary type exposes the following members.

Methods
  NameDescription
Public methodLookFor
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.
Public methodLookForNoCamouflage
Public methodRefreshState
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.
Public methodScan
Provides a method for the creature to scan the surrounding area and discover both hidden and visible creatures within your site range.
Top
Properties
  NameDescription
Public propertyCurrentAnimalState
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.
Public propertyCurrentOrganismState
Gets the most up to date state object for the current creature.
(Inherited from IOrganismWorldBoundary.)
Public propertyID
Retrieves the organism ID representing your creature within the world.
(Inherited from IOrganismWorldBoundary.)
Public propertyWorldHeight
Returns the height of the world in game units (pixels).
(Inherited from IOrganismWorldBoundary.)
Public propertyWorldWidth
Returns the width of the world in game units (pixels);
(Inherited from IOrganismWorldBoundary.)
Top
See Also