axmol/cocos2dx/extensions/CCBReader/CCLayerLoader.h

24 lines
522 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 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 *);
virtual void onHandlePropTypeCheck(CCNode * pNode, CCNode * pParent, CCString * pPropertyName, bool pCheck, CCBReader * pCCBReader);
};
NS_CC_EXT_END
#endif