Click or drag to resize
MovementVector Constructor

Used to define a vector along which creatures can move. The vector encompasses both destination and speed.

Namespace: Terrarium.Sdk.Classes.Creature
Assembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public MovementVector(
	Point destination,
	int speed
)

Parameters

destination
Type: Terrarium.Sdk.Classes.HelpersPoint
System.Point representing the location in the world to move to.
speed
Type: SystemInt32
The speed at which to move.
Exceptions
ExceptionCondition
ApplicationException Thrown if speed is less than 2. Also thrown if destination is empty and speed is not 0.
See Also