axmol/tests/fairygui-tests/Classes/DemoScene.h

27 lines
349 B
C
Raw Normal View History

2020-08-04 13:15:02 +08:00
#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