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

Method resetSystem

core/2d/ParticleSystem.cpp:1542–1549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1540}
1541
1542void ParticleSystem::resetSystem()
1543{
1544 _isActive = true;
1545 _elapsed = 0;
1546 // Setting _particleCount to zero could prevent Out-of-Range exception when updating
1547 // particle's loop animation after calling setTotalParticle().
1548 _particleCount = 0;
1549}
1550
1551bool ParticleSystem::isFull()
1552{

Callers 2

resimulateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected