axmol/extensions/CCBReader/CCLayerLoader.h

29 lines
574 B
C
Raw Normal View History

#ifndef _CCB_CCLAYERLOADER_H_
#define _CCB_CCLAYERLOADER_H_
#include "CCNodeLoader.h"
NS_CC_EXT_BEGIN
/* Forward declaration. */
class CCBReader;
class LayerLoader : public NodeLoader {
public:
/**
* @js NA
* @lua NA
*/
virtual ~LayerLoader() {};
CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD(LayerLoader, loader);
protected:
CCB_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD(Layer);
virtual void onHandlePropTypeCheck(Node * pNode, Node * pParent, const char * pPropertyName, bool pCheck, CCBReader * ccbReader);
};
NS_CC_EXT_END
#endif