X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FMapState.h;h=243325c69e5fef58ed8eff91efd03ea9d5ee758a;hb=9302f6869530e5492c73ef6f12f9cea348e8b2a6;hp=cde5ec7449d0d9892164c7333db8ef3324540e7a;hpb=1d6a9f01b8db0f5212b6a02603dd0670c6da38c7;p=l2e.git diff --git a/src/map/MapState.h b/src/map/MapState.h index cde5ec7..243325c 100644 --- a/src/map/MapState.h +++ b/src/map/MapState.h @@ -44,14 +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; };