C# Class tetris.Game1

Inheritance: Microsoft.Xna.Framework.Game
Afficher le fichier Open project: ttocs7/tetris Class Usage Examples

Méthodes publiques

Méthode Description
DispatchPiece ( bool holding = false ) : void
Game1 ( ) : System

Méthodes protégées

Méthode Description
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
LoadContent ( ) : void
UnloadContent ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

Méthode Description
DrawInstructions ( ) : void
GameOverUpdate ( GameTime gameTime ) : void
InProgressUpdate ( GameTime gameTime ) : void
MainMenuUpdate ( GameTime gameTime ) : void
PausedUpdate ( GameTime gameTime ) : void
ValidMove ( direction dir ) : bool

Method Details

DispatchPiece() public méthode

public DispatchPiece ( bool holding = false ) : void
holding bool
Résultat void

Draw() protected méthode

protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Game1() public méthode

public Game1 ( ) : System
Résultat System

Initialize() protected méthode

protected Initialize ( ) : void
Résultat void

LoadContent() protected méthode

protected LoadContent ( ) : void
Résultat void

UnloadContent() protected méthode

protected UnloadContent ( ) : void
Résultat void

Update() protected méthode

protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void