X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FMapState.h;h=1901a67afc4b27f0f18943c4ceab2db4aa8a8eaf;hb=acc322b16b5f31cfbc350d4fccb457c7730287fd;hp=09ba35780b74f8dbb70ea52afb00c757bbd82b12;hpb=4309d259becd96ead792678257e910c03a6b4a3d;p=l2e.git diff --git a/src/map/MapState.h b/src/map/MapState.h index 09ba357..1901a67 100644 --- a/src/map/MapState.h +++ b/src/map/MapState.h @@ -11,6 +11,7 @@ namespace map { #include "Entity.h" #include "../app/State.h" +#include "../app/Timer.h" #include "../common/ScriptHost.h" #include "../common/ScriptRunner.h" #include "../math/Fixed.h" @@ -71,6 +72,7 @@ private: void LockEntities(); bool CheckMonster(); + void LoadBattle(Entity &hero, Entity &monster); bool CheckLockTrigger(); bool CheckMoveTrigger(); @@ -92,6 +94,7 @@ private: graphics::Camera camera; std::vector entities; math::Fixed<8> walkingSpeed; + app::Timer tileAnimation; int nextDirection; bool afterLock; bool skipLock;