mirror of https://github.com/axmolengine/axmol.git
Add support for particleWithFile for both Quad & Point Particle Systems
This commit is contained in:
parent
7b423eb708
commit
d1f031d2de
|
@ -1 +1 @@
|
|||
08a6fb8c95775f5f4aeb25def379a741f6ea56f0
|
||||
445474251b15e1ea13cdde8cd5a9fc2776f16a77
|
|
@ -52,6 +52,14 @@ class CCParticleSystem : public CCNode, public CCTextureProtocol {
|
|||
void setBlendFunc(ccBlendFunc var);
|
||||
};
|
||||
|
||||
class CCParticleSystemQuad : public CCParticleSystem {
|
||||
static CCParticleSystemQuad * particleWithFile(const char *plistFile);
|
||||
};
|
||||
|
||||
class CCParticleSystemPoint : public CCParticleSystem {
|
||||
static CCParticleSystemPoint * particleWithFile(const char *plistFile);
|
||||
};
|
||||
|
||||
// Inheritance is funky here in the examples.... in reality its a pragma-def .. not sure how to map that?
|
||||
|
||||
class CCParticleFire : public CCParticleSystem {
|
||||
|
|
Loading…
Reference in New Issue