C# Class WarTornLands.Entities.Modules.Think.Parts.GoToPosition

Inheritance: BaseAbility
Show file Open project: floAr/WarTornLands Class Usage Examples

Public Methods

Method Description
Freeze ( ) : void
GoToPosition ( float speed = .1f ) : System
Reset ( ) : void
SetOwner ( System.Entity owner ) : void
Thaw ( ) : void
TryCancel ( ) : bool

Will cause the entity to stand still.

TryExecute ( ) : bool

.

Update ( GameTime gameTime ) : void

Private Methods

Method Description
TowardsEntityRoutine ( GameTime gameTime ) : void
TowardsPositionRoutine ( GameTime gameTime ) : void

Method Details

Freeze() public method

public Freeze ( ) : void
return void

GoToPosition() public method

public GoToPosition ( float speed = .1f ) : System
speed float
return System

Reset() public method

public Reset ( ) : void
return void

SetOwner() public method

public SetOwner ( System.Entity owner ) : void
owner System.Entity
return void

Thaw() public method

public Thaw ( ) : void
return void

TryCancel() public method

Will cause the entity to stand still.
public TryCancel ( ) : bool
return bool

TryExecute() public method

.
public TryExecute ( ) : bool
return bool

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void