#include <HudMessage.h>
Inheritance diagram for HudMessage:
Public Methods | |
| HudMessage () | |
| virtual | ~HudMessage () |
| virtual void | draw () |
| void | addTimeoutMessage (string messages, double timeout) |
Protected Methods | |
| void | resetTimer () |
| void | updateTime () |
Protected Attributes | |
| double | _timeoutLength |
| double | _lastTime |
|
|
|
|
|
|
|
||||||||||||
|
add a message and a timeout in seconds |
|
|
draw Implements HudBase. |
|
|
resets the time to zero |
|
|
updates the time the message is displayed, and if time is up, it delets all the messages |
|
|
|
|
|
|
1.2.18