Table of Contents

Class Movement

Namespace
AlphaFramework.World.Components
Assembly
AlphaFramework.World.dll

Controls the basic movement parameters.

public class Movement : ICloneable
Inheritance
object
Movement
Implements

Properties

Speed

How many units the EntityBase<TCoordinates, TTemplate> can walk per second.

public float Speed { get; set; }

Property Value

float

Methods

Clone()

Creates a deep copy of this Movement instance.

public virtual Movement Clone()

Returns

Movement

The new copy of the Movement.

CloneFromTo(Movement, Movement)

Copies all members declared by Movement from one instance to another.

protected static void CloneFromTo(Movement from, Movement to)

Parameters

from Movement
to Movement

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.