Source

pyGAP / game / inc / game / game_loop_sample.h

Full commit
#ifndef _GAME_GAME_LOOP_SAMPLE_
#define _GAME_GAME_LOOP_SAMPLE_

#include "platform/game_loop.h"


namespace platform {
class Renderer;
class Clock;
class CommandManager;
}


namespace game {
class CommandSample;


class GameLoopSample : public platform::GameLoop
{
public:
    GameLoopSample();
    ~GameLoopSample();

    void init();
    int loop(platform::Renderer* renderer, platform::Clock* clock, platform::CommandManager* commands);
    void finish();

private:
    //CommandSample* commands_;
};


} // namespace game

#endif // _GAME_GAME_LOOP_SAMPLE_