Source

pyGAP / game / inc / game / state / state_game.h

#ifndef _GAME_STATE_GAME_
#define _GAME_STATE_GAME_

#include "state/state_state.h"
#include "common/singleton.h"


namespace common {
class Log;
}

namespace renderer {
class Renderer;
}


namespace game {


class StateGame: public state::State, public common::Singleton< StateGame >
{
public:
    StateGame();

    void enter();
    int translate(input::CommandManager* command);
    void update(unsigned int);
    void render(renderer::Renderer* renderer) const;

private:
    float color_;
    bool pause_;
};


} // namespace game


#endif // _GAME_STATE_GAME_