2010-11-16 11:25:33 +08:00
|
|
|
#ifndef __APP_DELEGATE_H__
|
|
|
|
#define __APP_DELEGATE_H__
|
|
|
|
|
|
|
|
#include "cocos2d.h"
|
|
|
|
|
|
|
|
class AppDelegate : public cocos2d::CCXApplication
|
|
|
|
{
|
|
|
|
public:
|
2011-01-18 15:32:29 +08:00
|
|
|
AppDelegate();
|
|
|
|
~AppDelegate();
|
2010-11-16 11:25:33 +08:00
|
|
|
|
|
|
|
virtual bool applicationDidFinishLaunching();
|
|
|
|
virtual void applicationDidEnterBackground();
|
|
|
|
virtual void applicationWillEnterForeground();
|
|
|
|
|
|
|
|
protected:
|
|
|
|
cocos2d::CCXEGLView *m_pMainWnd;
|
|
|
|
};
|
|
|
|
|
2011-01-18 15:32:29 +08:00
|
|
|
#endif // __APP_DELEGATE_H__
|