]> Dogcows Code - chaz/yoink/blobdiff - src/Character.hh
converted tilemap scripts to lua
[chaz/yoink] / src / Character.hh
index 090e7cb97a1d308e124735f01190f21751e785e0..d1ec2c313713314bf0c3857002e33387c6a85680 100644 (file)
 
 #include <boost/shared_ptr.hpp>
 
-#include <Moof/Animation.hh>
 #include <Moof/Entity.hh>
 #include <Moof/Event.hh>
 #include <Moof/Math.hh>
 #include <Moof/RK4.hh>
-#include <Moof/Tilemap.hh>
+
+#include "Animation.hh"
+#include "Tilemap.hh"
+
 
 
 struct Character;
@@ -145,9 +147,6 @@ private:
 
        static const Mf::Scalar z = 96.0;
 
-       Mf::Tilemap             tilemap_;
-       Mf::Animation   animation_;
-
 protected:
 
        Mf::Vector2 userForce;
@@ -160,8 +159,9 @@ public:
        virtual void update(Mf::Scalar t, Mf::Scalar dt);
        virtual void draw(Mf::Scalar alpha) const;
 
-       Mf::Tilemap& getTilemap();
-       Mf::Animation& getAnimation();
+
+       Tilemap         tilemap;
+       Animation       animation;
 };
 
 
This page took 0.01846 seconds and 4 git commands to generate.