C# Class Category5.HealthBar

Exibir arquivo 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_oe static_oe property

public static int height
return int

location public_oe static_oe property

public static Vector2 location
return Vector2

width public_oe static_oe property

public static int width
return int