C# Class Gravitation.Screens.GameScreen

Inheritance: IDrawableScreen
显示文件 Open project: thedamoes/Gravitation

Protected Properties

Property Type Description
debugView FarseerPhysics.DebugViewXNA

Public Methods

Method Description
Draw ( Microsoft sb, GameTime gameTime ) : void
GameScreen ( DataClasses gameConfig ) : System
HandleKeyboard ( KeyboardState state, KeyboardState prevState ) : void
LoadContent ( GraphicsDeviceManager graphics, Microsoft.Xna.Framework.Content.ContentManager Content ) : void
Update ( GameTime gameTime ) : DataClasses.IScreenExitData
getView ( ) : Matrix

Method Details

Draw() public method

public Draw ( Microsoft sb, GameTime gameTime ) : void
sb Microsoft
gameTime GameTime
return void

GameScreen() public method

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

HandleKeyboard() public method

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

LoadContent() public method

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

Update() public method

public Update ( GameTime gameTime ) : DataClasses.IScreenExitData
gameTime GameTime
return DataClasses.IScreenExitData

getView() public method

public getView ( ) : Matrix
return Matrix

Property Details

debugView protected_oe property

protected DebugViewXNA,FarseerPhysics debugView
return FarseerPhysics.DebugViewXNA