Back to index

supertuxkart  0.5+dfsg1
Public Member Functions | Public Attributes
RaceGUI::TimedMessage Class Reference
Collaboration diagram for RaceGUI::TimedMessage:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TimedMessage (const char *message, Kart *kart, float time, int size, int red, int green, int blue)
bool done () const

Public Attributes

std::string m_message
float m_end_time
int m_red
int m_blue
int m_green
int m_font_size
Kartm_kart

Detailed Description

Definition at line 41 of file race_gui.hpp.


Constructor & Destructor Documentation

RaceGUI::TimedMessage::TimedMessage ( const char *  message,
Kart kart,
float  time,
int  size,
int  red,
int  green,
int  blue 
) [inline]

Definition at line 52 of file race_gui.hpp.

        {
            m_message    = message; 
            m_font_size  = size;
            m_kart       = kart;
            m_end_time   = time>=0.0f 
                         ? (race_manager->getRaceMode()==RaceManager::RM_FOLLOW_LEADER 
                            ?world->getTime()-time
                            :world->getTime()+time )
                         : -1.0f;
            m_red=red; m_blue=blue; m_green=green; 
        }

Here is the call graph for this function:


Member Function Documentation

bool RaceGUI::TimedMessage::done ( ) const [inline]

Definition at line 67 of file race_gui.hpp.

Here is the call graph for this function:


Member Data Documentation

Definition at line 46 of file race_gui.hpp.

Definition at line 45 of file race_gui.hpp.

Definition at line 47 of file race_gui.hpp.

Definition at line 46 of file race_gui.hpp.

Definition at line 48 of file race_gui.hpp.

Definition at line 44 of file race_gui.hpp.

Definition at line 46 of file race_gui.hpp.


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