X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FAnimation.hh;h=3875b45f4819dccb880d4df763fbd676a8f4a708;hp=d8651dddf76a2032c0912584a60722d583202c79;hb=e0fb747f2e647115d0b8953615c254d25c045345;hpb=90b2c7fb10b244b781b84965a0d36f1f323ee94d diff --git a/src/Animation.hh b/src/Animation.hh index d8651dd..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 bool getPath(std::string& name); + +private: + + class impl; + boost::shared_ptr impl_; };