C# Class Gravitation.Screens.Menu.MenuScreen

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

Public Methods

Method Description
Draw ( SpriteBatch sb, GameTime gameTime ) : void
HandleKeyboard ( KeyboardState curState, KeyboardState prevState ) : void
LoadContent ( GraphicsDeviceManager dMan, Microsoft cm ) : void
MenuScreen ( int ScreenWidth, int ScreenHeight, SoundHandler player, GraphicsDeviceManager dMan, Microsoft cm ) : System
Update ( GameTime gameTime ) : void
getView ( ) : Matrix
windowCloseing ( ) : void

Private Methods

Method Description
gameSelectedHandler ( object sender, DataClasses e ) : void

Method Details

Draw() public method

public Draw ( SpriteBatch sb, GameTime gameTime ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
gameTime Microsoft.Xna.Framework.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 cm ) : void
dMan GraphicsDeviceManager
cm Microsoft
return void

MenuScreen() public method

public MenuScreen ( int ScreenWidth, int ScreenHeight, SoundHandler player, GraphicsDeviceManager dMan, Microsoft cm ) : System
ScreenWidth int
ScreenHeight int
player SoundHandler
dMan GraphicsDeviceManager
cm Microsoft
return System

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

getView() public method

public getView ( ) : Matrix
return Matrix

windowCloseing() public method

public windowCloseing ( ) : void
return void