]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/MapState.h
shift walking animation by one frame
[l2e.git] / src / map / MapState.h
index 86e2813576e3c4dddcf369c8a7783233add271d6..243325c69e5fef58ed8eff91efd03ea9d5ee758a 100644 (file)
@@ -44,15 +44,19 @@ public:
 
 private:
        static bool ZCompare(const Entity *lhs, const Entity *rhs);
+       void OnGridLock();
+       void OnMove();
 
 private:
        const Map *map;
        Entity *controlled;
        geometry::Vector<float> tempTarget;
+       geometry::Vector<int> lastLock;
        graphics::Camera camera;
        std::vector<Entity *> entities;
        float walkingSpeed;
        int nextDirection;
+       bool afterLock;
 
 };