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

#include <pause.h>

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

Public Types

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

Public Member Functions

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

Private Member Functions

bool change_state (const CEGUI::EventArgs &event)
 
bool gui_shutdown (const CEGUI::EventArgs &event)
 
void add_hooks ()
 
void add_gui_hooks ()
 
void add_hooks (const std::string &button, const CEGUI::Event::Subscriber &callback)
 

Private Attributes

CEGUI::Window * menu_window_
 
bool menu_visible_
 
bool is_init_
 

Additional Inherited Members

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

Member Typedef Documentation

typedef std::shared_ptr<Pause> Pause::shared

Constructor & Destructor Documentation

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

Member Function Documentation

void Pause::add_gui_hooks ( )
private
void Pause::add_hooks ( )
private
void Pause::add_hooks ( const std::string &  button,
const CEGUI::Event::Subscriber &  callback 
)
private
bool Pause::change_state ( const CEGUI::EventArgs &  event)
private
void Pause::enter ( )
virtual

Implements State.

bool Pause::gui_shutdown ( const CEGUI::EventArgs &  event)
private
void Pause::switch_menu ( )
void Pause::update ( float  delta)
virtual

Implements State.

Member Data Documentation

bool Pause::is_init_
private
bool Pause::menu_visible_
private
CEGUI::Window* Pause::menu_window_
private

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