aboutsummaryrefslogtreecommitdiffstats
path: root/include/entities.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/entities.h')
-rw-r--r--include/entities.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/entities.h b/include/entities.h
index 3d2bbef..b58d569 100644
--- a/include/entities.h
+++ b/include/entities.h
@@ -23,6 +23,7 @@ public:
// |-> 1 Merchant
vec2 loc; //location and velocity of the entity
vec2 vel;
+ bool near;
bool right,left, canMove; //movement variables
bool alive; //the flag for whether or not the entity is alive
unsigned char ground; //variable for testing what ground the entity is on to apply certain traits