X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FMapState.h;h=0e49100e3b305b6e458123af8060986fd4b76958;hb=80ece5086729d503658ee7f0739a2aad2d5e22e7;hp=4ba149db1d96c3e05749c4a5b32f411b5938dfc5;hpb=07cdc452aeaad73ca9f8f9a3cf9868d2b6c9d5b3;p=l2e.git diff --git a/src/map/MapState.h b/src/map/MapState.h index 4ba149d..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(); @@ -69,6 +74,7 @@ private: float walkingSpeed; int nextDirection; bool afterLock; + bool skipLock; bool debug; };