aboutsummaryrefslogtreecommitdiffstats
path: root/include/entities.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/entities.h')
-rw-r--r--include/entities.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/entities.h b/include/entities.h
index 334bfeb..c10bcd4 100644
--- a/include/entities.h
+++ b/include/entities.h
@@ -132,6 +132,7 @@ void initEntity();
class Entity{
public:
+ Entity *followee;
Inventory *inv;
/*
@@ -186,6 +187,8 @@ public:
virtual void wander(int){}
virtual void interact(){}
+
+ void follow(Entity *e);
virtual ~Entity(){}
};