X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FAnimation.hh;h=3875b45f4819dccb880d4df763fbd676a8f4a708;hp=ac00679809b7da11931aef0d29e393fe1b59417e;hb=e0fb747f2e647115d0b8953615c254d25c045345;hpb=837bae9f2bf7b25e1d3d2625eeaf39c1d2f48827 diff --git a/src/Animation.hh b/src/Animation.hh index ac00679..3875b45 100644 --- a/src/Animation.hh +++ b/src/Animation.hh @@ -21,8 +21,8 @@ #include -#include -#include +#include +#include class Animation; @@ -36,11 +36,8 @@ typedef boost::shared_ptr AnimationP; * about anything to whatever drawing context is used to render the frame. */ -class Animation : public Mf::Resource +class Animation : public moof::resource { - class Impl; - boost::shared_ptr mImpl; - public: Animation(const std::string& name); @@ -53,10 +50,14 @@ public: void startSequence(const std::string& name); - void update(Mf::Scalar t, Mf::Scalar dt); + void update(moof::scalar t, moof::scalar dt); unsigned getFrame() const; - static std::string getPath(const std::string& name); + +private: + + class impl; + boost::shared_ptr impl_; };