mirror of https://github.com/axmolengine/axmol.git
21 lines
595 B
C++
21 lines
595 B
C++
#ifndef __cocos2d_libs__CustomRootNodeReader__
|
|
#define __cocos2d_libs__CustomRootNodeReader__
|
|
|
|
#include "cocos2d.h"
|
|
#include "cocostudio/CocosStudioExport.h"
|
|
#include "cocostudio/WidgetReader/NodeReader/NodeReader.h"
|
|
|
|
|
|
class CustomRootNodeReader : public cocostudio::NodeReader
|
|
{
|
|
public:
|
|
CustomRootNodeReader() {};
|
|
~CustomRootNodeReader() {};
|
|
|
|
static CustomRootNodeReader* getInstance();
|
|
static void purge();
|
|
|
|
cocos2d::Node* createNodeWithFlatBuffers(const flatbuffers::Table* nodeOptions);
|
|
};
|
|
|
|
#endif /* defined(__cocos2d_libs__CustomRootNodeReader__) */ |