aboutsummaryrefslogtreecommitdiffstats
path: root/include/entities.h
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-03-04 08:45:53 -0500
committerClyne Sullivan <tullivan99@gmail.com>2016-03-04 08:45:53 -0500
commit5fadac5d0f37f574ca160107d832d11b421ad559 (patch)
treeff9667adf7c3b8d882083a99b7176260afd25349 /include/entities.h
parentfe5ea7fe415857f49d6630f2b0f50e1246c38eee (diff)
entity following
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(){}
};