C# Class Gravitation.ControllerAgents.AIAgent

Inheritance: IControllerInterface
Show file Open project: thedamoes/Gravitation

Public Properties

Property Type Description
mShip SpriteObjects.Ship

Public Methods

Method Description
AIAgent ( SpriteObjects ship, World world ) : System
Draw ( Microsoft sBatch, DebugViewXNA debugView, Matrix projection, Matrix view ) : void
applyMovement ( ) : void
loadShip ( Microsoft cm, Microsoft graphics ) : void
reset ( ) : void
reset2 ( Vector2 spawnpoint ) : void
updateShip ( GameTime gameTime, Matrix _view ) : void

Private Methods

Method Description
resetParams ( ) : void

Method Details

AIAgent() public method

public AIAgent ( SpriteObjects ship, World world ) : System
ship SpriteObjects
world FarseerPhysics.Dynamics.World
return System

Draw() public method

public Draw ( Microsoft sBatch, DebugViewXNA debugView, Matrix projection, Matrix view ) : void
sBatch Microsoft
debugView DebugViewXNA
projection Matrix
view Matrix
return void

applyMovement() public method

public applyMovement ( ) : void
return void

loadShip() public method

public loadShip ( Microsoft cm, Microsoft graphics ) : void
cm Microsoft
graphics Microsoft
return void

reset() public method

public reset ( ) : void
return void

reset2() public method

public reset2 ( Vector2 spawnpoint ) : void
spawnpoint Vector2
return void

updateShip() public method

public updateShip ( GameTime gameTime, Matrix _view ) : void
gameTime Microsoft.Xna.Framework.GameTime
_view Matrix
return void

Property Details

mShip public property

public SpriteObjects.Ship mShip
return SpriteObjects.Ship