#ifndef _CCB_CCSPRITELOADER_H_ #define _CCB_CCSPRITELOADER_H_ #include "CCNodeLoader.h" NS_CC_EXT_BEGIN /* Forward declaration. */ class CCBReader; class CC_DLL CCSpriteLoader : public CCNodeLoader { public: CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD(CCSpriteLoader, loader); protected: virtual CCSprite * createCCNode(CCNode *, CCBReader *); virtual void onHandlePropTypeColor3(CCNode * pNode, CCNode * pParent, CCString * pPropertyName, ccColor3B, CCBReader *); virtual void onHandlePropTypeByte(CCNode * pNode, CCNode * pParent, CCString * pPropertyName, unsigned char, CCBReader *); virtual void onHandlePropTypeBlendFunc(CCNode * pNode, CCNode * pParent, CCString * pPropertyName, ccBlendFunc, CCBReader *); virtual void onHandlePropTypeSpriteFrame(CCNode * pNode, CCNode * pParent, CCString * pPropertyName, CCSpriteFrame *, CCBReader *); virtual void onHandlePropTypeFlip(CCNode * pNode, CCNode * pParent, CCString * pPropertyName, bool *, CCBReader *); }; NS_CC_EXT_END #endif