]> Dogcows Code - chaz/yoink/blobdiff - src/Animation.hh
moving some non-portable code to stlplus
[chaz/yoink] / src / Animation.hh
index ac00679809b7da11931aef0d29e393fe1b59417e..3875b45f4819dccb880d4df763fbd676a8f4a708 100644 (file)
@@ -21,8 +21,8 @@
 
 #include <boost/shared_ptr.hpp>
 
-#include <Moof/Math.hh>
-#include <Moof/Resource.hh>
+#include <moof/math.hh>
+#include <moof/resource.hh>
 
 
 class Animation;
@@ -36,11 +36,8 @@ typedef boost::shared_ptr<Animation> 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<Impl> 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> impl_;
 };
 
 
This page took 0.020664 seconds and 4 git commands to generate.