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

#include <play.h>

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

Public Types

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

Public Member Functions

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

Private Member Functions

void config_race ()
 
void add_hooks ()
 
void create_overlays ()
 
void create_car ()
 
void destroy_board ()
 
void update_overlays ()
 
std::string to_string_with_precision (const float number, const int n)
 

Private Attributes

Ogre::SceneNode * animation_node_
 
Ogre::Entity * animation_entity_
 
bool started_
 

Additional Inherited Members

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

Member Typedef Documentation

typedef std::shared_ptr<Play> Play::shared

Constructor & Destructor Documentation

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

Member Function Documentation

void Play::add_hooks ( )
private
void Play::config_race ( )
private
void Play::create_car ( )
private
void Play::create_overlays ( )
private
void Play::destroy_board ( )
private
void Play::enter ( )
virtual

Implements State.

std::string Play::to_string_with_precision ( const float  number,
const int  n 
)
private
void Play::update ( float  delta)
virtual

Implements State.

void Play::update_overlays ( )
private

Member Data Documentation

Ogre::Entity* Play::animation_entity_
private
Ogre::SceneNode* Play::animation_node_
private
bool Play::started_
private

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