// Julien Pilet, Sept. 2008 #ifndef ELASTIC_CHAIN #define ELASTIC_CHAIN #include "ezspline.h" #include "elastics.h" #include "Meddle/Model/Animation/Handler.hpp" #include "Meddle/Timer.hpp" namespace Meddle { class ElasticChain { public: ElasticChain(unsigned int npts, float x, float y, Model::Animation::Handler *animation); virtual ~ElasticChain(); void draw(float x, float y); bool m_first; unsigned int m_npts; t_point *m_pts; t_elastic *m_elastics; Timer m_last; Model::Animation::Handler *m_animation; }; } // namespace Meddle #endif