C# Class ThreadedPlatformer.PlatformerGame

This is the main type for your game
Inheritance: Squared.Render.MultithreadedGame
Afficher le fichier Open project: sq/Fracture Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( GameTime gameTime, Frame frame ) : void
PlatformerGame ( ) : System

Méthodes protégées

Méthode Description
LoadContent ( ) : void

LoadContent will be called once per game and is the place to load all of your 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
DrawHud ( Frame frame ) : void
HandleInput ( ) : void
LoadNextLevel ( ) : void
ReloadCurrentLevel ( ) : void

Method Details

Draw() public méthode

public Draw ( GameTime gameTime, Frame frame ) : void
gameTime Microsoft.Xna.Framework.GameTime
frame Frame
Résultat void

LoadContent() protected méthode

LoadContent will be called once per game and is the place to load all of your content.
protected LoadContent ( ) : void
Résultat void

PlatformerGame() public méthode

public PlatformerGame ( ) : System
Résultat System

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 Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
Résultat void