C# Class PGCGame.PlequariusGame

Main type for PGCGame
Inheritance: Microsoft.Xna.Framework.Game
Exibir arquivo Open project: GreatMindsRobotics/PGCGame Class Usage Examples

Public Methods

Method Description
PlequariusGame ( ) : System

Protected Methods

Method Description
BeginDraw ( ) : bool
Draw ( GameTime gameTime ) : void

This is called when the game should draw itself.

EndDraw ( ) : void
Initialize ( ) : void

Initialize this Game through StateManager.

LoadContent ( ) : void

Load Game Assets and initialize all screens

UnloadContent ( ) : void

UnloadContent will be called once per game and is the place to unload all content.

Update ( GameTime gameTime ) : void

Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.

Private Methods

Method Description
ShowError ( Exception e ) : bool

Method Details

BeginDraw() protected method

protected BeginDraw ( ) : bool
return bool

Draw() protected method

This is called when the game should draw itself.
protected Draw ( GameTime gameTime ) : void
gameTime GameTime Provides a snapshot of timing values.
return void

EndDraw() protected method

protected EndDraw ( ) : void
return void

Initialize() protected method

Initialize this Game through StateManager.
protected Initialize ( ) : void
return void

LoadContent() protected method

Load Game Assets and initialize all screens
protected LoadContent ( ) : void
return void

PlequariusGame() public method

public PlequariusGame ( ) : System
return System

UnloadContent() protected method

UnloadContent will be called once per game and is the place to unload all content.
protected UnloadContent ( ) : void
return void

Update() protected method

Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.
protected Update ( GameTime gameTime ) : void
gameTime GameTime Provides a snapshot of timing values.
return void