summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors/BehaviorChaser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/Behaviors/BehaviorChaser.h')
-rw-r--r--src/Mobs/Behaviors/BehaviorChaser.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Mobs/Behaviors/BehaviorChaser.h b/src/Mobs/Behaviors/BehaviorChaser.h
index e924a9db3..75f3fc121 100644
--- a/src/Mobs/Behaviors/BehaviorChaser.h
+++ b/src/Mobs/Behaviors/BehaviorChaser.h
@@ -13,14 +13,15 @@ class cBehaviorStriker;
The mob may possess this trait and not attack anyone or only attack when provoked.
Unlike most traits, this one has several forms, and therefore it is an abstract type
You should use one of its derived classes, and you cannot use it directly. */
-class cBehaviorChaser
+class cBehaviorChaser : public cBehavior
{
public:
cBehaviorChaser(cMonster * a_Parent);
// Functions our host Monster should invoke:
- bool Tick() override;
+ bool IsControlDesired() override;
+ void Tick() override;
void Destroyed() override;
void PostTick() override;