X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FMapState.h;h=243325c69e5fef58ed8eff91efd03ea9d5ee758a;hb=f0da7a839b18b9860fad1c62f36003628f84b5b3;hp=86e2813576e3c4dddcf369c8a7783233add271d6;hpb=34fefc504fc465080b210b604ba5a185265a3c94;p=l2e.git diff --git a/src/map/MapState.h b/src/map/MapState.h index 86e2813..243325c 100644 --- a/src/map/MapState.h +++ b/src/map/MapState.h @@ -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 tempTarget; + geometry::Vector lastLock; graphics::Camera camera; std::vector entities; float walkingSpeed; int nextDirection; + bool afterLock; };