X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FMapState.h;h=34ebdd2f15fc7dd9076392aec6357fa16ea0dacc;hb=d969efe468d2d9775ab2c5388be1cde8efa0b9ad;hp=b753ccfd61201aa1e2decb13f586c6bda05ef64d;hpb=a1c89e41e38eca790e168b8acd3beee974685fcd;p=l2e.git diff --git a/src/map/MapState.h b/src/map/MapState.h index b753ccf..34ebdd2 100644 --- a/src/map/MapState.h +++ b/src/map/MapState.h @@ -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 moveTimer; geometry::Vector tempTarget; geometry::Vector lastLock; graphics::Camera camera;