SuperTuxKart
Public Member Functions | Protected Attributes | Private Attributes | List of all members
MessageQueue::Message Class Referenceabstract

A base class for any messages. More...

Inheritance diagram for MessageQueue::Message:
Inheritance graph
[legend]

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.
 

Detailed Description

A base class for any messages.


The documentation for this class was generated from the following file: