diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-24 09:25:50 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-24 09:25:50 +0200 |
commit | 4e5baf3f39c6972fb525b0d4aed58f59de3005bd (patch) | |
tree | 4bdf3c28f92ea2fdd469f0ec9c404df96fd6b78f /src/Mobs/Behaviors/BehaviorBreeder.cpp | |
parent | Initial Monster Behavior vector logic (diff) | |
download | cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.tar cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.tar.gz cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.tar.bz2 cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.tar.lz cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.tar.xz cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.tar.zst cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.zip |
Diffstat (limited to 'src/Mobs/Behaviors/BehaviorBreeder.cpp')
-rw-r--r-- | src/Mobs/Behaviors/BehaviorBreeder.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/Mobs/Behaviors/BehaviorBreeder.cpp b/src/Mobs/Behaviors/BehaviorBreeder.cpp index 219846367..b2bd8da5d 100644 --- a/src/Mobs/Behaviors/BehaviorBreeder.cpp +++ b/src/Mobs/Behaviors/BehaviorBreeder.cpp @@ -24,8 +24,10 @@ cBehaviorBreeder::cBehaviorBreeder(cMonster * a_Parent) : -void cBehaviorBreeder::Tick() +void cBehaviorBreeder::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { + UNUSED(a_Dt); + UNUSED(a_Chunk); cWorld * World = m_Parent->GetWorld(); // if we have a partner, mate if (m_LovePartner != nullptr) @@ -74,8 +76,10 @@ void cBehaviorBreeder::Tick() -void cBehaviorBreeder::PostTick() +void cBehaviorBreeder::PostTick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { + UNUSED(a_Dt); + UNUSED(a_Chunk); if (m_MatingTimer > 0) { m_MatingTimer--; @@ -94,8 +98,10 @@ void cBehaviorBreeder::PostTick() -bool cBehaviorBreeder::IsControlDesired() +bool cBehaviorBreeder::IsControlDesired(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { + UNUSED(a_Dt); + UNUSED(a_Chunk); cWorld * World = m_Parent->GetWorld(); // if we have a love partner, we should control the mob |