C# Class tetris.Game1

Inheritance: Microsoft.Xna.Framework.Game
Datei anzeigen Open project: ttocs7/tetris Class Usage Examples

Public Methods

Method Description
DispatchPiece ( bool holding = false ) : void
Game1 ( ) : System

Protected Methods

Method Description
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
LoadContent ( ) : void
UnloadContent ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method 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 method

public DispatchPiece ( bool holding = false ) : void
holding bool
return void

Draw() protected method

protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Game1() public method

public Game1 ( ) : System
return System

Initialize() protected method

protected Initialize ( ) : void
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

UnloadContent() protected method

protected UnloadContent ( ) : void
return void

Update() protected method

protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void