MCPcopy Create free account
hub / github.com/axmolengine/axmol / readdParticle

Method readdParticle

tests/cpp-tests/Source/ParticleTest/ParticleTest.cpp:2987–2999  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2985}
2986
2987void PremultipliedAlphaTest::readdParticle(float delta)
2988{
2989 if (_hasEmitter)
2990 {
2991 _emitter->removeFromParent();
2992 }
2993 else
2994 {
2995 this->addChild(_emitter);
2996 }
2997
2998 _hasEmitter = !_hasEmitter;
2999}
3000
3001void PremultipliedAlphaTest::onEnter()
3002{

Callers

nothing calls this directly

Calls 2

removeFromParentMethod · 0.45
addChildMethod · 0.45

Tested by

no test coverage detected