21 #include "hx3d/tweens/delay.hpp" 27 BaseTween(false), _delay(delayAsSeconds), _currentTime(0.f)
39 _currentTime += delta;
40 if (_currentTime > _delay)
Delay(const float delayAsSeconds)
Create a delay tween using a specified time in seconds.
bool _ended
Has the tween ended ?
virtual void update(const float delta) override
Update the tween.
virtual void reset() override
Reset the tween.