2010-07-26 17:12:06 +08:00
|
|
|
// Application application header file.
|
|
|
|
|
|
|
|
// Original file name: test_uphoneApp.h
|
|
|
|
// Generated by TOPS Builder:Project wizard,Date:2010-7-26
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __test_uphone_App_H__
|
|
|
|
#define __test_uphone_App_H__
|
2010-09-08 11:28:17 +08:00
|
|
|
// #include "CCXApplication.h"
|
|
|
|
// #include "CCXEGLView.h"
|
|
|
|
#include "cocos2d.h"
|
2010-07-26 17:12:06 +08:00
|
|
|
|
2010-08-03 11:23:12 +08:00
|
|
|
class Ttest_uphoneApp : public cocos2d::CCXApplication
|
2010-07-26 17:12:06 +08:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
Ttest_uphoneApp();
|
|
|
|
~Ttest_uphoneApp();
|
2010-08-03 11:23:12 +08:00
|
|
|
|
2010-08-06 17:50:20 +08:00
|
|
|
virtual bool initCocos2d();
|
2010-08-03 11:23:12 +08:00
|
|
|
|
2010-07-26 17:12:06 +08:00
|
|
|
public:
|
|
|
|
virtual Boolean EventHandler(EventType * pEvent);
|
2010-08-03 11:23:12 +08:00
|
|
|
|
2010-07-26 17:12:06 +08:00
|
|
|
protected:
|
2010-08-03 11:23:12 +08:00
|
|
|
cocos2d::CCXEGLView * m_pMainWnd;
|
2010-08-17 15:01:09 +08:00
|
|
|
|
|
|
|
private:
|
|
|
|
Int32 m_nTimer;
|
2010-07-26 17:12:06 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|