38 m_tweeners.push_back(t);
63 bool claw::tween::tweener_group::do_is_finished()
const
65 return m_tweeners.empty();
73 double claw::tween::tweener_group::do_update(
double dt )
75 typedef std::list<tweener>::iterator iterator_type;
78 iterator_type it = m_tweeners.begin();
80 while ( it != m_tweeners.end() )
82 const double r = it->update(dt);
83 result = std::min(result, r);
85 if ( it->is_finished() )
87 const iterator_type tmp(it);
89 m_tweeners.erase(tmp);
104 return m_tweeners.empty();