A class that draws gauges such as HP bars More...
Public Types | |
enum | GaugeOrientetion { HorizonalLeftToRight , HorizonalRightToLeft , VerticalUpToDown , VerticalDownToUp } |
Gauge Orientation More... | |
Public Member Functions | |
GaugeDrawer (WindowDrawer b, WindowDrawer gauge, WindowDrawer max) | |
void | Draw (Vector2 position, Vector2 gaugeSize, float percent, GaugeOrientetion gaugeOrientetion) |
void | Draw (Vector2 position, Vector2 gaugeSize, float percent, GaugeOrientetion gaugeOrientetion, Color gaugeColor) |
A class that draws gauges such as HP bars
Yukar.Engine.GaugeDrawer.GaugeDrawer | ( | WindowDrawer | b, |
WindowDrawer | gauge, | ||
WindowDrawer | max | ||
) |
void Yukar.Engine.GaugeDrawer.Draw | ( | Vector2 | position, |
Vector2 | gaugeSize, | ||
float | percent, | ||
GaugeOrientetion | gaugeOrientetion | ||
) |
void Yukar.Engine.GaugeDrawer.Draw | ( | Vector2 | position, |
Vector2 | gaugeSize, | ||
float | percent, | ||
GaugeOrientetion | gaugeOrientetion, | ||
Color | gaugeColor | ||
) |