C# Class Indiefreaks.Xna.Logic.Steering.Arrive

Steering behavior that moves an AutonomousAgent towards a specific position decreasing its velocity as it gets closer to the destination.
Inheritance: SteeringBehavior
Show file Open project: Indiefreaks/igf

Public Methods

Method Description
Arrive ( ) : Indiefreaks.Xna.Core

Creates a new instance

CanCompute ( ) : bool

Defines if the current steering behavior can execute or not.

Override this method to add a global condition to this behavior

Compute ( ) : void

Computes the current Steering Behavior

Method Details

Arrive() public method

Creates a new instance
public Arrive ( ) : Indiefreaks.Xna.Core
return Indiefreaks.Xna.Core

CanCompute() public method

Defines if the current steering behavior can execute or not.
Override this method to add a global condition to this behavior
public CanCompute ( ) : bool
return bool

Compute() public method

Computes the current Steering Behavior
public Compute ( ) : void
return void