diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-31 12:53:10 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-31 12:53:10 +0200 |
commit | 0b288fefcccc8c228044ae8319f053f5408264a1 (patch) | |
tree | e0d1bf0accec2149d5c1ece32a7b26adbdb7ac58 /src/Mobs/Behaviors/BehaviorWanderer.h | |
parent | Removed BehaviorStriker, and some doc (diff) | |
download | cuberite-0b288fefcccc8c228044ae8319f053f5408264a1.tar cuberite-0b288fefcccc8c228044ae8319f053f5408264a1.tar.gz cuberite-0b288fefcccc8c228044ae8319f053f5408264a1.tar.bz2 cuberite-0b288fefcccc8c228044ae8319f053f5408264a1.tar.lz cuberite-0b288fefcccc8c228044ae8319f053f5408264a1.tar.xz cuberite-0b288fefcccc8c228044ae8319f053f5408264a1.tar.zst cuberite-0b288fefcccc8c228044ae8319f053f5408264a1.zip |
Diffstat (limited to 'src/Mobs/Behaviors/BehaviorWanderer.h')
-rw-r--r-- | src/Mobs/Behaviors/BehaviorWanderer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Mobs/Behaviors/BehaviorWanderer.h b/src/Mobs/Behaviors/BehaviorWanderer.h index c694eb331..219ad32c3 100644 --- a/src/Mobs/Behaviors/BehaviorWanderer.h +++ b/src/Mobs/Behaviors/BehaviorWanderer.h @@ -13,11 +13,13 @@ public: // Functions our host Monster should invoke: bool IsControlDesired(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; + bool ControlStarting(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; + bool ControlEnding(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; private: cMonster * m_Parent; // Our Parent - std::chrono::milliseconds m_IdleInterval; + bool m_OldDontCare; }; |