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

Steering behavior aligning the current AutonomousAgent with others.
Inheritance: ContextualSteeringBehavior
Datei anzeigen Open project: Indiefreaks/igf

Public Methods

Method Description
Alignment ( ) : System.Collections.Generic

Create 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

Private Methods

Method Description
GetAgentForwards ( ) : void

Method Details

Alignment() public method

Create a new instance
public Alignment ( ) : System.Collections.Generic
return System.Collections.Generic

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