summaryrefslogtreecommitdiff
path: root/GameStructures.h
diff options
context:
space:
mode:
Diffstat (limited to 'GameStructures.h')
-rw-r--r--GameStructures.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/GameStructures.h b/GameStructures.h
index 758affb..058d1d6 100644
--- a/GameStructures.h
+++ b/GameStructures.h
@@ -36,10 +36,12 @@ typedef struct t_Unit
{
uint16_t x;
uint16_t y;
+ uint16_t target_x;
+ uint16_t target_y;
uint8_t hp;
uint8_t id;
bool dir; // False = up-down; true = left-right
- bool walk;
+ bool walking;
bool alive;
bool selected;
}TYPE_UNIT;