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

Steering Behavior creating a force that tends to place the agent in a slightly offseted postion of a given target agent
Inheritance: SteeringBehavior
ファイルを表示 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

OffsetPursuit ( ) : Microsoft.Xna.Framework

Creates a new instance

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

OffsetPursuit() public method

Creates a new instance
public OffsetPursuit ( ) : Microsoft.Xna.Framework
return Microsoft.Xna.Framework