Tinman  1.0
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
Results Class Reference

#include <results.h>

Inheritance diagram for Results:
Inheritance graph
[legend]
Collaboration diagram for Results:
Collaboration graph
[legend]

Public Types

typedef std::shared_ptr< Resultsshared
 
- Public Types inherited from State
typedef std::shared_ptr< Stateshared
 

Public Member Functions

 Results (std::shared_ptr< Game > game)
 
virtual ~Results ()
 
void enter ()
 
void update (float delta)
 
- Public Member Functions inherited from State
 State (std::shared_ptr< Game > game)
 
virtual ~State ()
 

Private Member Functions

void switch_menu ()
 
void add_hooks ()
 
void add_gui_hooks ()
 
void add_hooks (CEGUI::Window *window, const std::string &button, const CEGUI::Event::Subscriber &callback)
 
bool change_state (const CEGUI::EventArgs &event)
 
bool show_shop (const CEGUI::EventArgs &event)
 
void show_results ()
 
void config_progress_bar ()
 
bool sell_nitro (const CEGUI::EventArgs &event)
 

Private Attributes

CEGUI::Window * menu_window_
 
CEGUI::Window * shop_window_
 
CEGUI::Window * waiting_window_
 
bool is_init_
 
Ice::AsyncResultPtr next_race_
 
float last_nitro_
 

Additional Inherited Members

- Protected Attributes inherited from State
std::shared_ptr< Gamegame_
 

Member Typedef Documentation

typedef std::shared_ptr<Results> Results::shared

Constructor & Destructor Documentation

Results::Results ( std::shared_ptr< Game game)
Results::~Results ( )
virtual

Member Function Documentation

void Results::add_gui_hooks ( )
private
void Results::add_hooks ( )
private
void Results::add_hooks ( CEGUI::Window *  window,
const std::string &  button,
const CEGUI::Event::Subscriber &  callback 
)
private
bool Results::change_state ( const CEGUI::EventArgs &  event)
private
void Results::config_progress_bar ( )
private
void Results::enter ( )
virtual

Implements State.

bool Results::sell_nitro ( const CEGUI::EventArgs &  event)
private
void Results::show_results ( )
private
bool Results::show_shop ( const CEGUI::EventArgs &  event)
private
void Results::switch_menu ( )
private
void Results::update ( float  delta)
virtual

Implements State.

Member Data Documentation

bool Results::is_init_
private
float Results::last_nitro_
private
CEGUI::Window* Results::menu_window_
private
Ice::AsyncResultPtr Results::next_race_
private
CEGUI::Window * Results::shop_window_
private
CEGUI::Window * Results::waiting_window_
private

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