00001 #ifndef Game_I2abdb221m12355049952mm7d6a_H 00002 #define Game_I2abdb221m12355049952mm7d6a_H 00004 00005 class Game{ 00006 00007 public: 00009 Game(); 00011 bool run(); 00013 void finish(); 00014 virtual ~Game(){ } 00015 00016 protected: 00018 virtual bool doInit() = 0; 00020 virtual void doPreProcess(){ } 00022 virtual void doLoop() = 0; 00024 virtual void doPostProcess(){ } 00025 00026 private: 00028 bool finished; 00029 }; 00030 #endif // Game_I2abdb221m12355049952mm7d6a_H
1.6.1