C# Class PGCGame.PlequariusGame

Main type for PGCGame
Inheritance: Microsoft.Xna.Framework.Game
Afficher le fichier Open project: GreatMindsRobotics/PGCGame Class Usage Examples

Méthodes publiques

Méthode Description
PlequariusGame ( ) : System

Méthodes protégées

Méthode 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

Méthode Description
ShowError ( Exception e ) : bool

Method Details

BeginDraw() protected méthode

protected BeginDraw ( ) : bool
Résultat bool

Draw() protected méthode

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

EndDraw() protected méthode

protected EndDraw ( ) : void
Résultat void

Initialize() protected méthode

Initialize this Game through StateManager.
protected Initialize ( ) : void
Résultat void

LoadContent() protected méthode

Load Game Assets and initialize all screens
protected LoadContent ( ) : void
Résultat void

PlequariusGame() public méthode

public PlequariusGame ( ) : System
Résultat System

UnloadContent() protected méthode

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

Update() protected méthode

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.
Résultat void