C# Class Asteroids.Classes.HUD

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

Méthodes publiques

Méthode Description
Draw ( SpriteBatch spriteBatch, int playerLife ) : void
GetScore ( ) : int
HUD ( ) : System
HUD ( GraphicsDeviceManager graphics ) : System
HUD ( int screenWidth, int screenHeight ) : System
HUD ( int screenWidth, int screenHeight, Classes shield ) : 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

GetScore() public méthode

public GetScore ( ) : int
Résultat int

HUD() public méthode

public HUD ( ) : System
Résultat System

HUD() public méthode

public HUD ( GraphicsDeviceManager graphics ) : System
graphics GraphicsDeviceManager
Résultat System

HUD() public méthode

public HUD ( int screenWidth, int screenHeight ) : System
screenWidth int
screenHeight int
Résultat System

HUD() public méthode

public HUD ( int screenWidth, int screenHeight, Classes shield ) : System
screenWidth int
screenHeight int
shield Classes
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