]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/MapState.h
added movement timer to track blocked movement
[l2e.git] / src / map / MapState.h
index b753ccfd61201aa1e2decb13f586c6bda05ef64d..34ebdd2f15fc7dd9076392aec6357fa16ea0dacc 100644 (file)
@@ -44,6 +44,7 @@ public:
 
 private:
        static bool ZCompare(const Entity *lhs, const Entity *rhs);
+       void OnTileLock();
        void OnGridLock();
        void OnMove();
 
@@ -52,6 +53,7 @@ private:
 private:
        Map *map;
        Entity *controlled;
+       app::Timer<float> moveTimer;
        geometry::Vector<float> tempTarget;
        geometry::Vector<int> lastLock;
        graphics::Camera camera;