C# Class PGCGame.Failsafe.FailsafeErrorGame

Failsafe game error screen class.
Inheritance: Microsoft.Xna.Framework.Game
Show file Open project: GreatMindsRobotics/PGCGame Class Usage Examples

Public Methods

Method Description
FailsafeErrorGame ( Exception ex ) : System

Protected Methods

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

This is called when the game should draw itself.

EndDraw ( ) : void
Initialize ( ) : void
LoadContent ( ) : void

Load Game Assets and initialize all screens

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
ErrLinkOpen ( Glib.XNA.SpriteLib.TextSprite clicked ) : void
reportError_Pressed ( object sender, EventArgs e ) : void

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

FailsafeErrorGame() public method

public FailsafeErrorGame ( Exception ex ) : System
ex System.Exception
return System

Initialize() protected method

protected Initialize ( ) : void
return void

LoadContent() protected method

Load Game Assets and initialize all screens
protected LoadContent ( ) : 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