From a54cbf40ffa40cd72f20f6491f34e4b2338687dd Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Wed, 23 Aug 2017 22:31:45 +0300 Subject: Everything now inherits Behavior.h --- src/Mobs/Behaviors/BehaviorItemFollower.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/Mobs/Behaviors/BehaviorItemFollower.h') diff --git a/src/Mobs/Behaviors/BehaviorItemFollower.h b/src/Mobs/Behaviors/BehaviorItemFollower.h index 09acfe473..ab33de65f 100644 --- a/src/Mobs/Behaviors/BehaviorItemFollower.h +++ b/src/Mobs/Behaviors/BehaviorItemFollower.h @@ -9,7 +9,7 @@ class cBehaviorItemFollower; class cMonster; class cItems; -class cBehaviorItemFollower +class cBehaviorItemFollower : public cBehavior { public: cBehaviorItemFollower(cMonster * a_Parent); @@ -17,7 +17,8 @@ public: void GetBreedingItems(cItems & a_Items); // Functions our host Monster should invoke: - void Tick(); + bool IsControlDesired() override; + void Tick() override; private: -- cgit v1.2.3