Added ParticleSystem:isStopped (issue #623)

This commit is contained in:
Alex Szpakowski
2013-05-24 02:21:47 -03:00
parent 4dc2072fc6
commit 0545138f1e
4 changed files with 16 additions and 0 deletions
@@ -578,6 +578,11 @@ bool ParticleSystem::isPaused() const
return !active && life < lifetime;
}
bool ParticleSystem::isStopped() const
{
return !active && life >= lifetime;
}
bool ParticleSystem::isEmpty() const
{
return pStart == pLast;