diff options
Diffstat (limited to 'src/Mobs/Behaviors/BehaviorBreeder.h')
-rw-r--r-- | src/Mobs/Behaviors/BehaviorBreeder.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Mobs/Behaviors/BehaviorBreeder.h b/src/Mobs/Behaviors/BehaviorBreeder.h index cf030b8f3..576234066 100644 --- a/src/Mobs/Behaviors/BehaviorBreeder.h +++ b/src/Mobs/Behaviors/BehaviorBreeder.h @@ -18,13 +18,14 @@ class cBehaviorBreeder : public cBehavior { public: - cBehaviorBreeder(cMonster * a_Parent); + cBehaviorBreeder(); + void AttachToMonster(cMonster & a_Parent) override; // Functions our host Monster should invoke: bool IsControlDesired(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; void PostTick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; - void OnRightClicked(cPlayer & a_Player); + void OnRightClicked(cPlayer & a_Player) override; void Destroyed() override; /** Returns the partner which the monster is currently mating with. */ |