]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/MapState.h
implemented map tile anmation
[l2e.git] / src / map / MapState.h
index f0f20c1ccf635379a1b0778272232e5be7840556..1901a67afc4b27f0f18943c4ceab2db4aa8a8eaf 100644 (file)
@@ -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<Entity *> entities;
        math::Fixed<8> walkingSpeed;
+       app::Timer<Uint32> tileAnimation;
        int nextDirection;
        bool afterLock;
        bool skipLock;
@@ -102,4 +105,4 @@ private:
 
 }
 
-#endif /* MAP_MAPSTATE_H_ */
+#endif