mirror of https://github.com/axmolengine/axmol.git
23 lines
434 B
C++
23 lines
434 B
C++
#ifndef __APP_DELEGATE_H__
|
|
#define __APP_DELEGATE_H__
|
|
|
|
#include "cocos2d.h"
|
|
|
|
class AppDelegate : public cocos2d::CCXApplication
|
|
{
|
|
public:
|
|
AppDelegate();
|
|
~AppDelegate();
|
|
|
|
virtual bool applicationDidFinishLaunching();
|
|
virtual void applicationDidEnterBackground();
|
|
virtual void applicationWillEnterForeground();
|
|
|
|
protected:
|
|
cocos2d::CCXEGLView *m_pMainWnd;
|
|
};
|
|
|
|
|
|
#endif // __APP_DELEGATE_H__
|
|
|