C# Class Gravitation.AIEngine.AIEngine

Show file Open project: thedamoes/Gravitation

Public Methods

Method Description
AIEngine ( float directionWeight, float rotationWeight, List behaviours ) : System
calculate ( SpriteObjects mShip, Body otherShipsBody ) : void
reset ( ) : void

Method Details

AIEngine() public method

public AIEngine ( float directionWeight, float rotationWeight, List behaviours ) : System
directionWeight float
rotationWeight float
behaviours List
return System

calculate() public method

public calculate ( SpriteObjects mShip, Body otherShipsBody ) : void
mShip SpriteObjects
otherShipsBody FarseerPhysics.Dynamics.Body
return void

reset() public method

public reset ( ) : void
return void