C# Class Gravitation.SpriteObjects.HUD.LifeBar

Inheritance: HUDItem
Show file Open project: thedamoes/Gravitation

Public Methods

Method Description
Draw ( SpriteBatch theSpriteBatch ) : void
LifeBar ( IHasLife hasLife, Vector2 position ) : System
LoadContent ( Microsoft theContentManager ) : void

Method Details

Draw() public method

public Draw ( SpriteBatch theSpriteBatch ) : void
theSpriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

LifeBar() public method

public LifeBar ( IHasLife hasLife, Vector2 position ) : System
hasLife IHasLife
position Vector2
return System

LoadContent() public method

public LoadContent ( Microsoft theContentManager ) : void
theContentManager Microsoft
return void