axmol/cocos2dx/extensions/CCBReader/CCLayerLoader.h

24 lines
531 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 CC_DLL CCLayerLoader : public CCNodeLoader {
public:
STATIC_NEW_AUTORELEASE_OBJECT_METHOD(CCLayerLoader, loader);
protected:
2012-05-31 07:51:33 +08:00
virtual CCLayer * createCCNode(CCNode *, CCBReader *);
2012-06-14 06:57:59 +08:00
virtual void onHandlePropTypeCheck(CCNode * pNode, CCNode * pParent, const char * pPropertyName, bool pCheck, CCBReader * pCCBReader);
};
NS_CC_EXT_END
#endif