mirror of
https://github.com/love2d/love.git
synced 2026-08-15 07:41:11 +02:00
Added ParticleSystem:isStopped (issue #623)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user