Tinman  1.0
Public Types | Public Member Functions | Protected Attributes | List of all members
State Class Referenceabstract

#include <state.h>

Inheritance diagram for State:
Inheritance graph
[legend]

Public Types

typedef std::shared_ptr< Stateshared
 

Public Member Functions

 State (std::shared_ptr< Game > game)
 
virtual ~State ()
 
virtual void enter ()=0
 
virtual void update (float delta)=0
 

Protected Attributes

std::shared_ptr< Gamegame_
 

Member Typedef Documentation

typedef std::shared_ptr<State> State::shared

Constructor & Destructor Documentation

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

Member Function Documentation

virtual void State::enter ( )
pure virtual

Implemented in Menu, Play, Initial, Results, and Pause.

virtual void State::update ( float  delta)
pure virtual

Implemented in Menu, Play, Initial, Results, and Pause.

Member Data Documentation

std::shared_ptr<Game> State::game_
protected

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