]> Dogcows Code - chaz/yoink/blobdiff - src/Character.hh
refactoring the scene class
[chaz/yoink] / src / Character.hh
index 00e5a4b2b6912dc8ceae0b27643d5f67496102ea..0a3f9f40d0724a26e2fdbaa1457ec8f1ab7f9932 100644 (file)
@@ -143,6 +143,8 @@ private:
 
        static const Mf::Scalar z = 96.0;
 
+       Mf::Vector2 userForce;
+
        Mf::Tilemap             tilemap_;
        Mf::Animation   animation_;
 
@@ -150,13 +152,13 @@ private:
 
 public:
 
-       inline static CharacterP alloc(const std::string& name)
+       static CharacterP alloc(const std::string& name)
        {
                return CharacterP(new Character(name));
        }
 
        Character(const std::string& name);
-       inline virtual ~Character() {}
+       virtual ~Character() {}
 
        void update(Mf::Scalar t, Mf::Scalar dt);
        void handleEvent(const Mf::Event& event);
This page took 0.019311 seconds and 4 git commands to generate.