#include <HudWater.h>

Public Member Functions | |
| HudWater (MVFirefly *firefly, GLfloat width, GLfloat height) | |
| Constructor. | |
| HudWater (const HudWater &source) | |
| Copy Constructor. | |
| ~HudWater () | |
| Destructor. | |
| void | setFirefly (MVFirefly *firefly) |
| void | renderGl () |
| renders score to screen | |
| void | selectGl () |
| rednering for selection pass | |
| virtual string | toString () const |
| Returns a textual representation. | |
| virtual string | className () const |
| Returns the class name of the object. | |
| virtual enum classId | classId () const |
| Returns the class id of the object. | |
Private Attributes | |
| MVFirefly * | firefly |
| Firefly to observe. | |
| Texture | barTexture |
| Texture to use in the status bar. | |
| Texture | emptyTexture |
| Texture to underlay an empty status bar with. | |
| GLfloat | width |
| Bar width. | |
| GLfloat | height |
| Bar height. | |
Displays current water reserves of Firefly
| HudWater::HudWater | ( | MVFirefly * | firefly, | |
| GLfloat | width, | |||
| GLfloat | height | |||
| ) |
Constructor.
| HudWater::HudWater | ( | const HudWater & | source | ) |
Copy Constructor.
| HudWater::~HudWater | ( | ) |
Destructor.
| void HudWater::setFirefly | ( | MVFirefly * | firefly | ) |
| void HudWater::renderGl | ( | ) | [virtual] |
| void HudWater::selectGl | ( | ) | [virtual] |
| string HudWater::toString | ( | ) | const [virtual] |
Returns a textual representation.
Reimplemented from Object2d.
| string HudWater::className | ( | ) | const [virtual] |
Returns the class name of the object.
Reimplemented from Object2d.
| enum classId HudWater::classId | ( | ) | const [virtual] |
Returns the class id of the object.
Reimplemented from Object2d.
MVFirefly* HudWater::firefly [private] |
Firefly to observe.
Texture HudWater::barTexture [private] |
Texture to use in the status bar.
Texture HudWater::emptyTexture [private] |
Texture to underlay an empty status bar with.
GLfloat HudWater::width [private] |
Bar width.
GLfloat HudWater::height [private] |
Bar height.
1.5.6