C# Class Gravitation.Screens.BaseGame

Inheritance: IDrawableScreen
Show file Open project: thedamoes/Gravitation Class Usage Examples

Protected Properties

Property Type Description
debugView FarseerPhysics.DebugViewXNA
graphics GraphicsDeviceManager
mMapLoader Maps.MapLoader
mWorld FarseerPhysics.Dynamics.World

Public Methods

Method Description
BaseGame ( DataClasses gameConfig ) : System
Draw ( SpriteBatch sb, GameTime gameTime ) : void
HandleKeyboard ( KeyboardState curState, KeyboardState prevState ) : void
LoadContent ( GraphicsDeviceManager dMan, Microsoft.Xna.Framework.Content.ContentManager cm ) : void
Update ( GameTime gameTime ) : void
getView ( ) : Matrix
windowCloseing ( ) : void

Method Details

BaseGame() public method

public BaseGame ( DataClasses gameConfig ) : System
gameConfig DataClasses
return System

Draw() public method

public Draw ( SpriteBatch sb, GameTime gameTime ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
gameTime GameTime
return void

HandleKeyboard() public method

public HandleKeyboard ( KeyboardState curState, KeyboardState prevState ) : void
curState Microsoft.Xna.Framework.Input.KeyboardState
prevState Microsoft.Xna.Framework.Input.KeyboardState
return void

LoadContent() public method

public LoadContent ( GraphicsDeviceManager dMan, Microsoft.Xna.Framework.Content.ContentManager cm ) : void
dMan GraphicsDeviceManager
cm Microsoft.Xna.Framework.Content.ContentManager
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime GameTime
return void

getView() public method

public getView ( ) : Matrix
return Matrix

windowCloseing() public method

public windowCloseing ( ) : void
return void

Property Details

debugView protected property

protected DebugViewXNA,FarseerPhysics debugView
return FarseerPhysics.DebugViewXNA

graphics protected property

protected GraphicsDeviceManager graphics
return GraphicsDeviceManager

mMapLoader protected property

protected Maps.MapLoader mMapLoader
return Maps.MapLoader

mWorld protected property

protected World,FarseerPhysics.Dynamics mWorld
return FarseerPhysics.Dynamics.World