X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmap%2FMapState.h;h=e7a75b6fca784f5dfb04c9a2b64154938a36dfbf;hb=d7befe3a14be8f01d6d7288a6970358a4749368d;hp=b753ccfd61201aa1e2decb13f586c6bda05ef64d;hpb=a1c89e41e38eca790e168b8acd3beee974685fcd;p=l2e.git diff --git a/src/map/MapState.h b/src/map/MapState.h index b753ccf..e7a75b6 100644 --- a/src/map/MapState.h +++ b/src/map/MapState.h @@ -44,14 +44,24 @@ public: private: static bool ZCompare(const Entity *lhs, const Entity *rhs); + + bool CheckBlocking() const; + + void OnTileLock(); void OnGridLock(); - void OnMove(); + void OnMove(bool); + + void UpdateFollower(Entity &); + void StopFollowers(Entity &); - void UpdateFollower(Entity *); + void LockEntities(); + void CheckMonster(); + void CheckTrigger(); private: Map *map; Entity *controlled; + app::Timer moveTimer; geometry::Vector tempTarget; geometry::Vector lastLock; graphics::Camera camera;