C# Class Asteroids.Classes.MainMenu

Afficher le fichier Open project: Timvangool/AsteroidsAPO2 Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( SpriteBatch spriteBatch ) : void
GetCurrentGameState ( ) : int
GetExit ( ) : bool
Load ( GraphicsDevice graphicsDevice ) : void
Load ( GraphicsDevice graphicsDevice, Highscores scores ) : void
MainMenu ( Microsoft.Xna.Framework.Content.ContentManager Content, GraphicsDevice graphicsDevice, ControlHandler ch ) : System
MoveHighscores ( GameTime gameTime, GraphicsDevice graphicsDevice ) : void
PositionStrings ( GraphicsDevice graphicsDevice ) : void
SetGameState ( int gameState ) : void
Update ( GameTime gameTime, GraphicsDevice graphicsDevice ) : void
UpdateSelect ( int number, GraphicsDevice graphicsDevice ) : void

Method Details

Draw() public méthode

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

GetCurrentGameState() public méthode

public GetCurrentGameState ( ) : int
Résultat int

GetExit() public méthode

public GetExit ( ) : bool
Résultat bool

Load() public méthode

public Load ( GraphicsDevice graphicsDevice ) : void
graphicsDevice GraphicsDevice
Résultat void

Load() public méthode

public Load ( GraphicsDevice graphicsDevice, Highscores scores ) : void
graphicsDevice GraphicsDevice
scores Highscores
Résultat void

MainMenu() public méthode

public MainMenu ( Microsoft.Xna.Framework.Content.ContentManager Content, GraphicsDevice graphicsDevice, ControlHandler ch ) : System
Content Microsoft.Xna.Framework.Content.ContentManager
graphicsDevice GraphicsDevice
ch ControlHandler
Résultat System

MoveHighscores() public méthode

public MoveHighscores ( GameTime gameTime, GraphicsDevice graphicsDevice ) : void
gameTime Microsoft.Xna.Framework.GameTime
graphicsDevice GraphicsDevice
Résultat void

PositionStrings() public méthode

public PositionStrings ( GraphicsDevice graphicsDevice ) : void
graphicsDevice GraphicsDevice
Résultat void

SetGameState() public méthode

public SetGameState ( int gameState ) : void
gameState int
Résultat void

Update() public méthode

public Update ( GameTime gameTime, GraphicsDevice graphicsDevice ) : void
gameTime Microsoft.Xna.Framework.GameTime
graphicsDevice GraphicsDevice
Résultat void

UpdateSelect() public méthode

public UpdateSelect ( int number, GraphicsDevice graphicsDevice ) : void
number int
graphicsDevice GraphicsDevice
Résultat void