X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FMapState.h;h=0e49100e3b305b6e458123af8060986fd4b76958;hb=7fb774ec1df3d550cd8a6805bdc69c11ad36e498;hp=371a881e5c54cc1b363ce2269dfa58e71c16b622;hpb=34e6fb59f355d1a4afc0a9a647aeb098b998dbbd;p=l2e.git diff --git a/src/map/MapState.h b/src/map/MapState.h index 371a881..0e49100 100644 --- a/src/map/MapState.h +++ b/src/map/MapState.h @@ -42,9 +42,14 @@ public: void SetWalkingSpeed(float s) { walkingSpeed = s; } + void Transition(Map *, const geometry::Vector &coordinates); + private: static bool ZCompare(const Entity *lhs, const Entity *rhs); + void UnloadMap(); + void LoadMap(Map *); + bool CheckBlocking() const; void OnTileLock(); @@ -55,6 +60,8 @@ private: void StopFollowers(Entity &); void LockEntities(); + void CheckMonster(); + void CheckTrigger(); private: Map *map; @@ -67,6 +74,8 @@ private: float walkingSpeed; int nextDirection; bool afterLock; + bool skipLock; + bool debug; };