Terrarium.Sdk.Classes.Creature Namespace |
[Missing <summary> documentation for "N:Terrarium.Sdk.Classes.Creature"]
Class | Description | |
---|---|---|
![]() | Animal |
This is the class that you derive from when you create an animal.
|
![]() | AntennaState | Provides access to a creature's Antenna. Each creature has two Antenna that can be placed in 10 different positions each. This enables a multitude of states that can be used to communicate with other creatures of the same species or even creatures of different species. By default both Antenna are positioned to the AntennaPosition.Left. In addition to setting the state of each individual Antenna. The author can also use the AntennaValue property to set a number from 0 to 99. This is provided for ease of use since most author developers will use this structure for passing data (cell data maybe?) rather than simple flags or states. |
![]() | AttackedEventArgsCollection | |
![]() | MovementVector | Used to define a vector along which creatures can move. The vector encompasses both destination and speed. |
![]() | Organism | The Organism class is the base class for the Animal/Plant classes. It contains functionality that is common to both the Animal and the Plant class. |
![]() | OrganismEventResults | |
![]() | PendingActions |
This is a class so that we can get the whole set of actions in
one chunk because they were remoted at one point.
These pending actions can only be set, never read by the code in the species. From the developer's perspective, they just called a method the TickActions class gathers these up and sets them to null This is to ensure that we don't need locks. |