]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Animation.hh
extreme refactoring
[chaz/yoink] / src / Moof / Animation.hh
similarity index 84%
rename from src/animation.hh
rename to src/Moof/Animation.hh
index ca565818d569b07442a88ebb28623880b080948d..57ce6a8ffe6f280b5a8396d77725bef07b8b86c2 100644 (file)
 
 *******************************************************************************/
 
-#ifndef _ANIMATION_HH_
-#define _ANIMATION_HH_
+#ifndef _MOOF_ANIMATION_HH_
+#define _MOOF_ANIMATION_HH_
 
 /**
- * @file animation.hh
+ * @file Animation.hh
  * Motion picture!!
  */
 
 
 #include <boost/shared_ptr.hpp>
 
-#include "resource.hh"
-#include "math.hh"
+#include <Moof/Math.hh>
+#include <Moof/Resource.hh>
 
 
-namespace dc {
+namespace Mf {
 
 
 /**
@@ -53,27 +53,27 @@ namespace dc {
  * anything to whatever drawing context is used to render the frame.
  */
 
-class animation : public resource
+class Animation : public Resource
 {
 public:
-       animation(const std::string& name);
+       Animation(const std::string& name);
 
-       void startSequence(const std::string& sequenceName);
+       void startSequence(const std::string& name);
 
-       void update(scalar t, scalar dt);
+       void update(Scalar t, Scalar dt);
        unsigned getFrame() const;
 
        static std::string getPathToResource(const std::string& name);
 
 private:
-       class animation_impl;
-       boost::shared_ptr<animation_impl> impl;
+       class AnimationImpl;
+       boost::shared_ptr<AnimationImpl> impl_;
 };
 
 
-} // namespace dc
+} // namespace Mf
 
-#endif // _ANIMATION_HH_
+#endif // _MOOF_ANIMATION_HH_
 
 /** vim: set ts=4 sw=4 tw=80: *************************************************/
 
This page took 0.021782 seconds and 4 git commands to generate.