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

Steering behavior that tends to separate the current agent from the provided list of agents
Inheritance: ContextualSteeringBehavior
Exibir arquivo Open project: Indiefreaks/igf

Public Methods

Method Description
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

Separation ( ) : System.Collections.Generic

Creates a new instance

Private Methods

Method Description
GetAgentPositions ( ) : void

Method Details

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

Separation() public method

Creates a new instance
public Separation ( ) : System.Collections.Generic
return System.Collections.Generic