C# Class Gravitation.Game1

This is the main type for your game
Inheritance: Microsoft.Xna.Framework.Game
Mostrar archivo Open project: thedamoes/Gravitation Class Usage Examples

Public Methods

Method Description
Game1 ( ) : System

Protected Methods

Method Description
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
LoadContent ( ) : void
OnExiting ( object sender, EventArgs args ) : void
UnloadContent ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
HandleKeyboard ( ) : void
_rectangleBody_OnCollision ( Fixture fixtureA, Fixture fixtureB, Contact contact ) : bool
gameSelected ( object sender, DataClasses e ) : void
graphics_PreparingDeviceSettings ( object sender, Microsoft.Xna.Framework.PreparingDeviceSettingsEventArgs e ) : void

Method Details

Draw() protected method

protected Draw ( GameTime gameTime ) : void
gameTime GameTime
return void

Game1() public method

public Game1 ( ) : System
return System

Initialize() protected method

protected Initialize ( ) : void
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

OnExiting() protected method

protected OnExiting ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
return void

UnloadContent() protected method

protected UnloadContent ( ) : void
return void

Update() protected method

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