C# Class Gravitation.ControllerAgents.LocalAgent

Inheritance: IControllerInterface
Mostrar archivo Open project: thedamoes/Gravitation

Public Properties

Property Type Description
mShip SpriteObjects.Ship

Public Methods

Method Description
Draw ( SpriteBatch sBatch, DebugViewXNA debugView, Matrix projection, Matrix view ) : void
LocalAgent ( SpriteObjects ship ) : System
altFire ( ) : void
applyMovement ( ) : void
fire ( ) : void
loadShip ( Microsoft.Xna.Framework.Content.ContentManager cm, GraphicsDeviceManager graphics ) : void
moveBack ( ) : void
moveBack ( float amount ) : void
moveForward ( ) : void
moveForward ( float amount ) : void
moveLeft ( ) : void
moveLeft ( float amount ) : void
moveRight ( ) : void
moveRight ( float amount ) : void
reset ( ) : void
reset2 ( Vector2 spawnpoint ) : void
stall ( ) : void
updateShip ( GameTime gameTime, Matrix _view ) : void

Private Methods

Method Description
resetParams ( ) : void

Method Details

Draw() public method

public Draw ( SpriteBatch sBatch, DebugViewXNA debugView, Matrix projection, Matrix view ) : void
sBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
debugView DebugViewXNA
projection Matrix
view Matrix
return void

LocalAgent() public method

public LocalAgent ( SpriteObjects ship ) : System
ship SpriteObjects
return System

altFire() public method

public altFire ( ) : void
return void

applyMovement() public method

public applyMovement ( ) : void
return void

fire() public method

public fire ( ) : void
return void

loadShip() public method

public loadShip ( Microsoft.Xna.Framework.Content.ContentManager cm, GraphicsDeviceManager graphics ) : void
cm Microsoft.Xna.Framework.Content.ContentManager
graphics GraphicsDeviceManager
return void

moveBack() public method

public moveBack ( ) : void
return void

moveBack() public method

public moveBack ( float amount ) : void
amount float
return void

moveForward() public method

public moveForward ( ) : void
return void

moveForward() public method

public moveForward ( float amount ) : void
amount float
return void

moveLeft() public method

public moveLeft ( ) : void
return void

moveLeft() public method

public moveLeft ( float amount ) : void
amount float
return void

moveRight() public method

public moveRight ( ) : void
return void

moveRight() public method

public moveRight ( float amount ) : void
amount float
return void

reset() public method

public reset ( ) : void
return void

reset2() public method

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

stall() public method

public stall ( ) : void
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_oe property

public SpriteObjects.Ship mShip
return SpriteObjects.Ship