Click or drag to resize
MovementVector Class

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

Inheritance Hierarchy
SystemObject
  Terrarium.Sdk.Classes.CreatureMovementVector

Namespace: Terrarium.Sdk.Classes.Creature
Assembly: Terrarium.Sdk (in Terrarium.Sdk.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
[SerializableAttribute]
public class MovementVector

The MovementVector type exposes the following members.

Constructors
  NameDescription
Public methodMovementVector

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

Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString

Used to get a special string representation of this MovementVector for debugging purposes.

(Overrides ObjectToString.)
Top
Properties
  NameDescription
Public propertyDestination

Used to determine the destination location for this MovementVector.

Public propertyIsStopped

Used to determine if this MovementVector will stop movement. This is true whenever an empty point and a speed of 0 was used.

Public propertySpeed

Used to determine the speed defined for this MovementVector

Top
See Also