C# Class SpaceRun.HUD

Show file Open project: zzorn/Spike3D

Public Methods

Method Description
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
Render ( GraphicsDeviceManager graphics ) : void
Update ( GameTime time ) : void

Private Methods

Method Description
drawGauge ( SpriteBatch batch, int x, int y, int w, int h, float percent, Color color ) : void

Method Details

LoadContent() public method

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

Render() public method

public Render ( GraphicsDeviceManager graphics ) : void
graphics GraphicsDeviceManager
return void

Update() public method

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