33 typedef std::shared_ptr<State>
shared;
35 State(std::shared_ptr<Game> game);
38 virtual void enter() = 0;
39 virtual void update(
float delta) = 0;
std::shared_ptr< State > shared
Definition: state.h:33
virtual void update(float delta)=0
State(std::shared_ptr< Game > game)
Definition: state.cpp:20
virtual ~State()
Definition: state.cpp:23
std::shared_ptr< Game > game_
Definition: state.h:30