mirror of https://github.com/axmolengine/axmol.git
27 lines
349 B
C++
27 lines
349 B
C++
#ifndef __DEMO_SCENE_H__
|
|
#define __DEMO_SCENE_H__
|
|
|
|
#include "cocos2d.h"
|
|
#include "FairyGUI.h"
|
|
|
|
USING_NS_FGUI;
|
|
|
|
class DemoScene : public cocos2d::Scene
|
|
{
|
|
public:
|
|
bool init();
|
|
|
|
DemoScene();
|
|
virtual ~DemoScene();
|
|
|
|
protected:
|
|
virtual void continueInit();
|
|
|
|
GRoot* _groot;
|
|
|
|
private:
|
|
void onClose(EventContext* context);
|
|
};
|
|
|
|
#endif
|