#include <HudInventory.h>

Public Member Functions | |
| HudInventory (MVFirefly *firefly, GLfloat size, GLfloat border) | |
| Constructor. | |
| HudInventory (const HudInventory &source) | |
| Copy Constructor. | |
| ~HudInventory () | |
| Destructor. | |
| void | setFirefly (MVFirefly *firefly) |
| void | renderGl () |
| The rendering function to be used with OpenGL. | |
| void | selectGl () |
| The selection mode rendering function for OpenGL. | |
| 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 |
| The firefly to observe. | |
| GLfloat | size |
| The height of the Inventory. | |
| GLfloat | border |
| The bordersize of the Inventory. | |
| Texture | background |
| Background Texture. | |
Shows an array of items collected by the player
| HudInventory::HudInventory | ( | MVFirefly * | firefly, | |
| GLfloat | size, | |||
| GLfloat | border | |||
| ) |
Constructor.
| firefly | the bug whose inventory to display |
| HudInventory::HudInventory | ( | const HudInventory & | source | ) |
Copy Constructor.
| source | the object to be copied |
| HudInventory::~HudInventory | ( | ) |
Destructor.
| void HudInventory::setFirefly | ( | MVFirefly * | firefly | ) |
| void HudInventory::renderGl | ( | ) | [virtual] |
| void HudInventory::selectGl | ( | ) | [virtual] |
| string HudInventory::toString | ( | ) | const [virtual] |
Returns a textual representation.
Reimplemented from Object2d.
| string HudInventory::className | ( | ) | const [virtual] |
Returns the class name of the object.
Reimplemented from Object2d.
| enum classId HudInventory::classId | ( | ) | const [virtual] |
Returns the class id of the object.
Reimplemented from Object2d.
MVFirefly* HudInventory::firefly [private] |
The firefly to observe.
GLfloat HudInventory::size [private] |
The height of the Inventory.
GLfloat HudInventory::border [private] |
The bordersize of the Inventory.
Texture HudInventory::background [private] |
Background Texture.
1.5.6