diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-24 14:50:17 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-24 14:50:17 +0200 |
commit | 7f5058f1872e1ecc2ea9b897e32708903480e702 (patch) | |
tree | eb413f839b0e36c1bc05cb3c3e6bf2435a70810c /src/Mobs/Behaviors/BehaviorBreeder.h | |
parent | Merge branch 'master' into mobs2 (diff) | |
download | cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.tar cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.tar.gz cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.tar.bz2 cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.tar.lz cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.tar.xz cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.tar.zst cuberite-7f5058f1872e1ecc2ea9b897e32708903480e702.zip |
Diffstat (limited to '')
-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. */ |