21 #include "hx3d/tweens/callback.hpp" 31 BaseTween(false), _func(func), _delay(duration)
45 _currentTime += delta;
46 if (_currentTime > _delay)
bool _ended
Has the tween ended ?
virtual void update(const float delta) override
Update the tween.
Callback(std::function< void()> func)
Create a callback tween using a function.
virtual void reset() override
Reset the tween.