Click or drag to resize
Terrarium.Sdk.Classes.State Namespace

[Missing <summary> documentation for "N:Terrarium.Sdk.Classes.State"]

Classes
  ClassDescription
Public classAnimalState

Represents a creature's state during a certain tick in time. This class provides information on the creature's species, how much damage the creature has taken, and methods to compute energy requirements.

For additional information you should look at the OrganismState class which provides information that is shared between the Plant/Animal states.

Public classOrganismState

All properties of an organism that are used by the game are on this object. Each OrganismState is immutable and references can be held as long as the organism needs them.

This object only represents the state of a creature for a given turn and is not dynamically updated. Creatures should use the LookFor method in order to get the latest state of another creature.

Public classPlantState

Represents a plant's state during a certain tick in time. This class provides information on how much damage the plant has taken, how much energy it has left, and how tall it is.

For additional information you should look at the OrganismState class which provides information that is shared between the Plant/Animal states.