+++ /dev/null
-#ifndef _ENGINE_CORE_H_\r
-#define _ENGINE_CORE_H_\r
-\r
-#include <list>\r
-#include "src\engine.h"\r
-#include "src\timer.h"\r
-\r
-namespace engine {\r
- class Core\r
- {\r
- public:
- Core();\r
- void update();\r
- void sound();\r
- void graphics();\r
- void comm();\r
- void ai();\r
- engine_message _msg();\r
- void run();\r
- bool init();\r
- void release();\r
- void input();\r
- void sync();\r
- ~Core();\r
-\r
- protected:\r
- private:\r
- engine_message msg;\r
- std::list<void(Core::*)()> *fp;\r
- Timer timer;
-// unsigned char key[256];
- int frames_per_second;\r
- //std::list<void(core::*)()> fp;
-/* int xxxx = 0;\r
- int yyyy = 0;*/\r
- int bing;
- int x;
- int y;\r
- };\r
-}\r
-\r
-#endif/*_ENGINE_CORE_H_*/
\ No newline at end of file