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);
|
|
|
|
|
2013-07-27 21:44:49 +08:00
|
|
|
virtual void onHandlePropTypeIntegerLabeled(Node * pNode, Node * pParent, const char * pPropertyName, int pIntegerLabeled, CCBReader * ccbReader);
|
|
|
|
virtual void onHandlePropTypePoint(Node * pNode, Node * pParent, const char * pPropertyName, Point pPoint, CCBReader * ccbReader);
|
|
|
|
virtual void onHandlePropTypeFloat(Node * pNode, Node * pParent, const char * pPropertyName, float pFloat, CCBReader * ccbReader);
|
|
|
|
virtual void onHandlePropTypeInteger(Node * pNode, Node * pParent, const char * pPropertyName, int pInteger, CCBReader * ccbReader);
|
|
|
|
virtual void onHandlePropTypeFloatVar(Node * pNode, Node * pParent, const char * pPropertyName, float * pFloatVar, CCBReader * ccbReader);
|
|
|
|
virtual void onHandlePropTypeColor4FVar(Node * pNode, Node * pParent, const char * pPropertyName, Color4F * pColor4FVar, CCBReader * ccbReader);
|
|
|
|
virtual void onHandlePropTypeBlendFunc(Node * pNode, Node * pParent, const char * pPropertyName, BlendFunc pBlendFunc, CCBReader * ccbReader);
|
|
|
|
virtual void onHandlePropTypeTexture(Node * pNode, Node * pParent, const char * pPropertyName, Texture2D * pTexture2D, CCBReader * ccbReader);
|
2012-06-02 07:45:30 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
NS_CC_EXT_END
|
|
|
|
|
|
|
|
#endif
|