This Class extends the ScrollBarEssentials, simulating the behavior for a HealthSystem Game Bar
More...
|
| HealthSystem (Rect sb_dimen, bool vbar, Texture sb_bt, Texture st, float rot) |
|
void | Initialize () |
| Initializes the HealthSystem with a current value and max value More...
|
|
void | Update (int x, int y) |
| Prevents the current value from exceeding the min and max value. More...
|
|
override void | IncrimentBar (float value) |
| Incriments or De-incriments the current value More...
|
|
| ScrollBarEssentials () |
| A default initializer for a ScrollBarEssentaisl Game Bar System More...
|
|
| ScrollBarEssentials (Rect sb_dimen, bool vbar, Texture sb_bt, Texture st, float rot) |
| Creates a ScrollBarEssentials Game Bar System More...
|
|
| ScrollBarEssentials (Rect sb_dimen, Rect sbv_dimen, bool vbar, Texture sb_bt, Texture st, float rot) |
| Creates a ScrollBarEssentials HealthSystem Game Bar More...
|
|
virtual void | DrawBar () |
| Draws the ScrollBarEssentials Game Bar More...
|
|
virtual void | DoInMouseRect () |
| What to do when hovering over a Game Bar More...
|
|
virtual void | DoOutMouseRect () |
| What to do when not hovering over a Game Bar System More...
|
|
float | getCurrentValue () |
| The current_value of the Game Bar More...
|
|
float | getMaxValue (float value) |
| The max_value of the Game Bar More...
|
|
Rect | getScrollBarRect () |
| The main Scroll Bar Dimensions More...
|
|
Rect | getScrollBarTextureDimens () |
| The Scroll Bar Texture Dimensions More...
|
|
This Class extends the ScrollBarEssentials, simulating the behavior for a HealthSystem Game Bar
HealthSystem.HealthSystem |
( |
Rect |
sb_dimen, |
|
|
bool |
vbar, |
|
|
Texture |
sb_bt, |
|
|
Texture |
st, |
|
|
float |
rot |
|
) |
| |
override void HealthSystem.IncrimentBar |
( |
float |
value | ) |
|
|
virtual |
Incriments or De-incriments the current value
- Parameters
-
value | The value to change the current value by |
Reimplemented from ScrollBarEssentials.
void HealthSystem.Initialize |
( |
| ) |
|
Initializes the HealthSystem with a current value and max value
void HealthSystem.Update |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
Prevents the current value from exceeding the min and max value.
Updates base ScrollBar.
- Parameters
-
x | The X screen location |
y | The Y screen location |
The documentation for this class was generated from the following file: