diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-03-04 08:45:53 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-03-04 08:45:53 -0500 |
commit | 5fadac5d0f37f574ca160107d832d11b421ad559 (patch) | |
tree | ff9667adf7c3b8d882083a99b7176260afd25349 /include/entities.h | |
parent | fe5ea7fe415857f49d6630f2b0f50e1246c38eee (diff) |
entity following
Diffstat (limited to 'include/entities.h')
-rw-r--r-- | include/entities.h | 3 |
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(){} }; |