22 #include "hx3d/tweens/tween_manager.hpp" 27 TweenManager::TweenManager() {}
30 tweens.push_back(tween);
34 for (
auto i = tweens.begin(); i != tweens.end();) {
36 if (tween->hasEnded()) {
void update(const float delta)
Update all tweens.
void add(const Ptr< BaseTween > &tween)
Add an existing tween.
unsigned int getTweenCount()
Get the tweens count.
void clear()
Clear all the tweens.
std::shared_ptr< T > Ptr
Quick-typing shared ptr.