Terrarium.Sdk.Classes.Actions Namespace |
[Missing <summary> documentation for "N:Terrarium.Sdk.Classes.Actions"]
Class | Description | |
---|---|---|
![]() | Action | This class defines common properties for all actions that a creature can perform. These actions include movement, reproduction, eating, attacking, etc... |
![]() | AttackAction | This class represents a command to attack another creature initiated by the BeginAttacking method. This class can be used to get the target creature for the current attack action. |
![]() | DefendAction | This class represents a command to defend against an attack from another creature and is initiated by using the BeginDefending method. This class can be used to get the target creature for the current defend action. |
![]() | EatAction | This class represents a command to eat another creature or plant and is initiated by using the BeginEating method. This class can be used to get the target creature for the current eat action. |
![]() | MoveToAction | This class represents a movement command initiated by the BeginMoving method. This class can be used to determine the final location and speed that your creature is heading during multi-tick movements. |
![]() | ReproduceAction | This class represents a command to reproduce and is initiated by using the BeginReproducing method. This class can be used to get the byte array representing the DNA or data that will be sent to your creature's offspring. |