mirror of https://github.com/axmolengine/axmol.git
27 lines
855 B
C++
27 lines
855 B
C++
#ifndef _CCB_CCLAYERCOLORLOADER_H_
|
|
#define _CCB_CCLAYERCOLORLOADER_H_
|
|
|
|
#include "CCLayerLoader.h"
|
|
|
|
NS_CC_EXT_BEGIN
|
|
|
|
/* Forward declaration. */
|
|
class CCBReader;
|
|
|
|
class CC_DLL CCLayerColorLoader : public CCLayerLoader {
|
|
public:
|
|
virtual ~CCLayerColorLoader() {};
|
|
CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD(CCLayerColorLoader, loader);
|
|
|
|
protected:
|
|
virtual CCLayerColor * 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 *);
|
|
};
|
|
|
|
NS_CC_EXT_END
|
|
|
|
#endif
|