MCPcopy Create free account
hub / github.com/axmolengine/axmol / ~ParticleSystem

Method ~ParticleSystem

core/2d/ParticleSystem.cpp:720–728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

718}
719
720ParticleSystem::~ParticleSystem()
721{
722 // Since the scheduler retains the "target (in this case the ParticleSystem)
723 // it is not needed to call "unscheduleUpdate" here. In fact, it will be called in "cleanup"
724 // unscheduleUpdate();
725 _particleData.release();
726 _animations.clear();
727 AX_SAFE_RELEASE(_texture);
728}
729
730void ParticleSystem::addParticles(int count, int animationIndex, int animationCellIndex)
731{

Callers

nothing calls this directly

Calls 2

releaseMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected