| 2985 | } |
| 2986 | |
| 2987 | void 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 | |
| 3001 | void PremultipliedAlphaTest::onEnter() |
| 3002 | { |
nothing calls this directly
no test coverage detected