feat: add a way to know if there is tweens
This commit is contained in:
parent
b20b9e5dd4
commit
193b9cffbc
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue