From 3cbb05a941f449a393d11596060ecb5bc4f2b737 Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Thu, 24 Aug 2017 10:14:42 +0300 Subject: Initial Monster Behavior vector logic --- src/Mobs/Behaviors/BehaviorChaser.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Mobs/Behaviors/BehaviorChaser.h') diff --git a/src/Mobs/Behaviors/BehaviorChaser.h b/src/Mobs/Behaviors/BehaviorChaser.h index b71d503b3..d0910e11e 100644 --- a/src/Mobs/Behaviors/BehaviorChaser.h +++ b/src/Mobs/Behaviors/BehaviorChaser.h @@ -20,10 +20,10 @@ public: cBehaviorChaser(cMonster * a_Parent); // Functions our host Monster should invoke: - bool IsControlDesired() override; - void Tick() override; + bool IsControlDesired(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; + void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; void Destroyed() override; - void PostTick() override; + void PostTick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; void DoTakeDamage(TakeDamageInfo & a_TDI) override; // Our host monster will call these once it loads its config file -- cgit v1.2.3