C# Class Astroids.Classes.HUD

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

Méthodes publiques

Méthode Description
Draw ( SpriteBatch spriteBatch, int playerLife ) : void
HUD ( ) : System
Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
SetLevel ( int level ) : void
SetScore ( int score ) : void
Update ( GameTime gameTime ) : void

Method Details

Draw() public méthode

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

HUD() public méthode

public HUD ( ) : System
Résultat System

Load() public méthode

public Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
Résultat void

SetLevel() public méthode

public SetLevel ( int level ) : void
level int
Résultat void

SetScore() public méthode

public SetScore ( int score ) : void
score int
Résultat void

Update() public méthode

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