SuperTuxKart
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
TipsManager Class Reference

This class manages the list of all tips. More...

#include <tips_manager.hpp>

Public Member Functions

const irr::core::stringw & getTip (const std::string &id) const
 Get a tip by ID.
 
bool isEmpty () const
 

Static Public Member Functions

static void create ()
 Static function to create the instance of the tips manager.
 
static TipsManagerget ()
 Static function to get the tips manager.
 
static void destroy ()
 

Private Member Functions

 TipsManager ()
 Constructor, which reads data/tips.xml and stores the information in objects.
 
void addTipSet (const XMLNode *input)
 

Private Attributes

std::map< std::string, TipSet > m_all_tip_sets
 

Static Private Attributes

static TipsManagerm_tips_manager = NULL
 Pointer to the single instance.
 

Detailed Description

This class manages the list of all tips.

It reads the data/tips.xml file, which contains the contents for each tip.


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