C# Class tetris.Menu

Afficher le fichier Open project: ttocs7/tetris Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( GameTime gameTime ) : void
Menu ( Microsoft.Xna.Framework.Content.ContentManager content ) : System
Menu ( List items ) : System
Update ( GameTime gameTime, bool escape ) : int

Private Methods

Méthode Description
DrawString ( string str, bool selected, int yPos ) : void
ResetSelection ( ) : void
transition ( int dir, GameTime gameTime ) : void

Method Details

Draw() public méthode

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

Menu() public méthode

public Menu ( Microsoft.Xna.Framework.Content.ContentManager content ) : System
content Microsoft.Xna.Framework.Content.ContentManager
Résultat System

Menu() public méthode

public Menu ( List items ) : System
items List
Résultat System

Update() public méthode

public Update ( GameTime gameTime, bool escape ) : int
gameTime Microsoft.Xna.Framework.GameTime
escape bool
Résultat int