SuperTuxKart
|
A base class for any messages. More...
Public Member Functions | |
Message (float timer, const core::stringw &msg) | |
virtual MessageQueue::MessageType | getMessageType () const =0 |
virtual void | init ()=0 |
virtual void | draw (float dt) |
bool | canBeRemoved () const |
Protected Attributes | |
float | m_display_timer |
If this < 0, remove this message from queue. | |
core::stringw | m_message |
The message. | |
core::recti | m_area |
The area which the message is drawn. | |
Private Attributes | |
bool | m_inited |
Tell if this message has been initialized. | |
A base class for any messages.
|
inlinevirtual |
Reimplemented in MessageQueue::TextMessage, and MessageQueue::StaticTextMessage.
|
pure virtual |
Implemented in MessageQueue::TextMessage, and MessageQueue::ProgressBarMessage.
|
pure virtual |
Implemented in MessageQueue::TextMessage.