#include <HudOptions.h>
Inheritance diagram for HudOptions:
Public Methods | |
| HudOptions () | |
| virtual | ~HudOptions () |
| virtual void | draw () |
| void | setOptions (vector< string > options) |
| int | getSelection () |
| void | nextSelection () |
| void | previousSelection () |
| void | clearOptions () |
| bool | hasOptions () |
Protected Attributes | |
| int | _currentSelection |
| int | _finalSelection |
| int | _numberOfOptions |
| vector< GLfloat * > | _coordinatesVec |
| vector< int > | _widthVec |
| vector< int > | _heightVec |
|
|
|
|
|
|
|
|
|
|
|
draw Implements HudBase. |
|
|
get the option the user selected, (-1 = no selecting or esc) |
|
|
|
|
|
|
|
|
|
|
|
set the options to draw |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.18