summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/entity.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entity.h b/src/entity.h index 3387219..ed48a3d 100644 --- a/src/entity.h +++ b/src/entity.h
@@ -2,6 +2,7 @@
2#define ENTITY_H_0D6CB29A 2#define ENTITY_H_0D6CB29A
3 3
4#include <set> 4#include <set>
5#include <list>
5#include <vector> 6#include <vector>
6#include "vector.h" 7#include "vector.h"
7#include "enums.h" 8#include "enums.h"
@@ -29,7 +30,7 @@ public:
29 Layer layer = Layer::object; 30 Layer layer = Layer::object;
30 31
31 // Movement 32 // Movement
32 Direction shouldMoveTo = Direction::none; 33 std::list<Direction> shouldMoveDir;
33 bool moving = false; 34 bool moving = false;
34 vec2s destPos; 35 vec2s destPos;
35 double movementTween = 0.0; 36 double movementTween = 0.0;