C# Class Asteroids.Classes.HUD

Datei anzeigen Open project: Timvangool/AsteroidsAPO2 Class Usage Examples

Public Methods

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

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

GetScore() public method

public GetScore ( ) : int
return int

HUD() public method

public HUD ( ) : System
return System

HUD() public method

public HUD ( GraphicsDeviceManager graphics ) : System
graphics GraphicsDeviceManager
return System

HUD() public method

public HUD ( int screenWidth, int screenHeight ) : System
screenWidth int
screenHeight int
return System

HUD() public method

public HUD ( int screenWidth, int screenHeight, Classes shield ) : System
screenWidth int
screenHeight int
shield Classes
return System

Load() public method

public Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
return void

SetLevel() public method

public SetLevel ( int level ) : void
level int
return void

SetScore() public method

public SetScore ( int score ) : void
score int
return void

Update() public method

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