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

#include <menu.h>

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

Public Types

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

Public Member Functions

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

Private Member Functions

bool show_login (const CEGUI::EventArgs &event)
 
bool show_menu (const CEGUI::EventArgs &event)
 
bool show_credits (const CEGUI::EventArgs &event)
 
bool show_mode_window (const CEGUI::EventArgs &event)
 
bool change_bots_mode (const CEGUI::EventArgs &event)
 
void add_hooks ()
 
void add_hooks (CEGUI::Window *window, const std::string &button, const CEGUI::Event::Subscriber &callback)
 
void add_gui_hooks ()
 
void init_gui ()
 
void load_window ()
 
void autologin ()
 
bool login (const CEGUI::EventArgs &event)
 
void create_scene ()
 
void complete_login ()
 

Private Attributes

CEGUI::Window * menu_window_
 
CEGUI::Window * credits_window_
 
CEGUI::Window * mode_window_
 
CEGUI::Window * config_window_
 
CEGUI::Window * waiting_window_
 
Ice::AsyncResultPtr login_
 
bool autologin_
 
Ogre::OverlayElement * background_
 
std::shared_ptr< Carexpose_car_
 

Additional Inherited Members

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

Member Typedef Documentation

typedef std::shared_ptr<Menu> Menu::shared

Constructor & Destructor Documentation

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

Member Function Documentation

void Menu::add_gui_hooks ( )
private
void Menu::add_hooks ( )
private
void Menu::add_hooks ( CEGUI::Window *  window,
const std::string &  button,
const CEGUI::Event::Subscriber &  callback 
)
private
void Menu::autologin ( )
private
bool Menu::change_bots_mode ( const CEGUI::EventArgs &  event)
private
void Menu::complete_login ( )
private
void Menu::create_scene ( )
private
void Menu::enter ( )
virtual

Implements State.

void Menu::hide_waiting_screen ( )
void Menu::init_gui ( )
private
void Menu::load_window ( )
private
bool Menu::login ( const CEGUI::EventArgs &  event)
private
bool Menu::show_credits ( const CEGUI::EventArgs &  event)
private
bool Menu::show_login ( const CEGUI::EventArgs &  event)
private
bool Menu::show_menu ( const CEGUI::EventArgs &  event)
private
bool Menu::show_mode_window ( const CEGUI::EventArgs &  event)
private
void Menu::update ( float  delta)
virtual

Implements State.

Member Data Documentation

bool Menu::autologin_
private
Ogre::OverlayElement* Menu::background_
private
CEGUI::Window * Menu::config_window_
private
CEGUI::Window * Menu::credits_window_
private
std::shared_ptr<Car> Menu::expose_car_
private
Ice::AsyncResultPtr Menu::login_
private
CEGUI::Window* Menu::menu_window_
private
CEGUI::Window * Menu::mode_window_
private
CEGUI::Window * Menu::waiting_window_
private

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