summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2019-02-24 12:27:19 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2019-02-24 12:27:19 -0500
commitf264cfd7655a48f7e9a6e2fc5b1c62d6d2036025 (patch)
tree674ed9fc0cba3e725bd17c6bf591cae717a3ae5d
parent3adca6fad7e32e05edfc07ba4d445442c950eec8 (diff)
downloaddispatcher-f264cfd7655a48f7e9a6e2fc5b1c62d6d2036025.tar.gz
dispatcher-f264cfd7655a48f7e9a6e2fc5b1c62d6d2036025.tar.bz2
dispatcher-f264cfd7655a48f7e9a6e2fc5b1c62d6d2036025.zip
This should've been in the last commit!
-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;