PlantStateIncreaseRadiusTo Method |
Increases the radius of the creature to a new radius. The game
engine calls this whenever a plant grows. Since plants have
other attributes that change the base implementation of this
method must be overriden to also update the foodChunks property.
Namespace: Terrarium.Sdk.Classes.StateAssembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic override void IncreaseRadiusTo(
int newRadius
)
Public Overrides Sub IncreaseRadiusTo (
newRadius As Integer
)
public:
virtual void IncreaseRadiusTo(
int newRadius
) override
abstract IncreaseRadiusTo :
newRadius : int -> unit
override IncreaseRadiusTo :
newRadius : int -> unit
Parameters
- newRadius
- Type: SystemInt32
The new radius of the creature.
See Also