]> 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 2b530698ea48211fc5c08ed51e208a47bf45f4ea..34ebdd2f15fc7dd9076392aec6357fa16ea0dacc 100644 (file)
@@ -44,12 +44,16 @@ public:
 
 private:
        static bool ZCompare(const Entity *lhs, const Entity *rhs);
+       void OnTileLock();
        void OnGridLock();
        void OnMove();
 
+       void UpdateFollower(Entity *);
+
 private:
        Map *map;
        Entity *controlled;
+       app::Timer<float> moveTimer;
        geometry::Vector<float> tempTarget;
        geometry::Vector<int> lastLock;
        graphics::Camera camera;