C# Class geek.GameEngine.Behaviours.BezierMovementBehaviour

Lets an object move along a bezier curve.
Inheritance: IBehaviour
Mostra file Open project: impworks/xna.geek.engine

Public Methods

Method Description
BezierMovementBehaviour ( ) : System
BezierMovementBehaviour ( IEnumerable points ) : System
Reverse ( ) : void

Reverse the movement along the curve.

UpdateObjectState ( DynamicObject obj ) : void

Private Methods

Method Description
reset ( ) : void

Reinitialize the properties of the bezier curve path.

Method Details

BezierMovementBehaviour() public method

public BezierMovementBehaviour ( ) : System
return System

BezierMovementBehaviour() public method

public BezierMovementBehaviour ( IEnumerable points ) : System
points IEnumerable
return System

Reverse() public method

Reverse the movement along the curve.
public Reverse ( ) : void
return void

UpdateObjectState() public method

public UpdateObjectState ( DynamicObject obj ) : void
obj geek.GameEngine.Visuals.DynamicObject
return void