*******************************************************************************/
-#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 {
/**
* 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: *************************************************/