2012-06-13 02:59:49 +08:00
|
|
|
#ifndef _CCB_CCPARTICLESYSTEMQUADLOADER_H_
|
|
|
|
#define _CCB_CCPARTICLESYSTEMQUADLOADER_H_
|
2012-06-02 07:45:30 +08:00
|
|
|
|
|
|
|
#include "CCNodeLoader.h"
|
|
|
|
|
|
|
|
NS_CC_EXT_BEGIN
|
|
|
|
|
|
|
|
/* Forward declaration. */
|
|
|
|
class CCBReader;
|
|
|
|
|
2013-06-20 14:15:53 +08:00
|
|
|
class ParticleSystemQuadLoader : public NodeLoader {
|
2012-06-06 08:15:28 +08:00
|
|
|
public:
|
2013-06-20 14:15:53 +08:00
|
|
|
virtual ~ParticleSystemQuadLoader() {};
|
|
|
|
CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD(ParticleSystemQuadLoader, loader);
|
2012-06-06 08:15:28 +08:00
|
|
|
|
2012-06-02 07:45:30 +08:00
|
|
|
protected:
|
2013-06-20 14:15:53 +08:00
|
|
|
CCB_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD(ParticleSystemQuad);
|
|
|
|
|
|
|
|
virtual void onHandlePropTypeIntegerLabeled(Node * pNode, Node * pParent, const char * pPropertyName, int pIntegerLabeled, CCBReader * pCCBReader);
|
|
|
|
virtual void onHandlePropTypePoint(Node * pNode, Node * pParent, const char * pPropertyName, Point pPoint, CCBReader * pCCBReader);
|
|
|
|
virtual void onHandlePropTypeFloat(Node * pNode, Node * pParent, const char * pPropertyName, float pFloat, CCBReader * pCCBReader);
|
|
|
|
virtual void onHandlePropTypeInteger(Node * pNode, Node * pParent, const char * pPropertyName, int pInteger, CCBReader * pCCBReader);
|
|
|
|
virtual void onHandlePropTypeFloatVar(Node * pNode, Node * pParent, const char * pPropertyName, float * pFloatVar, CCBReader * pCCBReader);
|
2013-07-05 16:49:22 +08:00
|
|
|
virtual void onHandlePropTypeColor4FVar(Node * pNode, Node * pParent, const char * pPropertyName, Color4F * pColor4FVar, CCBReader * pCCBReader);
|
|
|
|
virtual void onHandlePropTypeBlendFunc(Node * pNode, Node * pParent, const char * pPropertyName, BlendFunc pBlendFunc, CCBReader * pCCBReader);
|
2013-06-20 14:15:53 +08:00
|
|
|
virtual void onHandlePropTypeTexture(Node * pNode, Node * pParent, const char * pPropertyName, Texture2D * pTexture2D, CCBReader * pCCBReader);
|
2012-06-02 07:45:30 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
NS_CC_EXT_END
|
|
|
|
|
|
|
|
#endif
|