feat: add a way to know if there is tweens

This commit is contained in:
Kazhnuz 2022-01-04 17:10:39 +01:00
parent b20b9e5dd4
commit 193b9cffbc

View file

@ -63,6 +63,10 @@ function TweenManager:removeNamedTween(name)
self.tweens[name] = nil self.tweens[name] = nil
end end
function TweenManager:haveTween()
return #self.tweens > 0
end
-- TIMER FUNCTIONS -- TIMER FUNCTIONS
-- Help to get info from timers -- Help to get info from timers