C# Class Category5.HealthBar

Show file Open project: AnyKey/tojam4

Public Properties

Property Type Description
height int
location Vector2
width int

Public Methods

Method Description
Draw ( Rectangle rectangle, Color FullColour, Color MidColour, Color LowColour, float percent ) : void
Draw ( Rectangle rectangle, float percent ) : void
Initialize ( TornadoGame g ) : void

Method Details

Draw() public static method

public static Draw ( Rectangle rectangle, Color FullColour, Color MidColour, Color LowColour, float percent ) : void
rectangle Microsoft.Xna.Framework.Rectangle
FullColour Color
MidColour Color
LowColour Color
percent float
return void

Draw() public static method

public static Draw ( Rectangle rectangle, float percent ) : void
rectangle Microsoft.Xna.Framework.Rectangle
percent float
return void

Initialize() public static method

public static Initialize ( TornadoGame g ) : void
g TornadoGame
return void

Property Details

height public static property

public static int height
return int

location public static property

public static Vector2 location
return Vector2

width public static property

public static int width
return int