]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/MapState.h
implemented map tile anmation
[l2e.git] / src / map / MapState.h
index 2465ddf3526ea80e72ca7683388d02d49c2a3ed3..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"
@@ -93,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;