summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors/BehaviorWanderer.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-08-31 12:53:10 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-08-31 12:53:10 +0200
commit0b288fefcccc8c228044ae8319f053f5408264a1 (patch)
treee0d1bf0accec2149d5c1ece32a7b26adbdb7ac58 /src/Mobs/Behaviors/BehaviorWanderer.h
parentRemoved BehaviorStriker, and some doc (diff)
downloadcuberite-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.h4
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;
};