diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-24 09:14:42 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-24 09:14:42 +0200 |
commit | 3cbb05a941f449a393d11596060ecb5bc4f2b737 (patch) | |
tree | 51edc920952cc53dfbb467b63e23b20e31beb46d /src/Mobs/Behaviors/Behavior.cpp | |
parent | Everything now inherits Behavior.h (diff) | |
download | cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.tar cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.tar.gz cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.tar.bz2 cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.tar.lz cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.tar.xz cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.tar.zst cuberite-3cbb05a941f449a393d11596060ecb5bc4f2b737.zip |
Diffstat (limited to 'src/Mobs/Behaviors/Behavior.cpp')
-rw-r--r-- | src/Mobs/Behaviors/Behavior.cpp | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/src/Mobs/Behaviors/Behavior.cpp b/src/Mobs/Behaviors/Behavior.cpp index 7b54a3340..695343732 100644 --- a/src/Mobs/Behaviors/Behavior.cpp +++ b/src/Mobs/Behaviors/Behavior.cpp @@ -6,8 +6,10 @@ -bool cBehavior::IsControlDesired() +bool cBehavior::IsControlDesired(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { + UNUSED(a_Dt); + UNUSED(a_Chunk); LOGD("ERROR: Probably forgot to implement cBehavior::IsControlDesired but implement cBehavior::Tick"); return false; } @@ -16,8 +18,10 @@ bool cBehavior::IsControlDesired() -bool cBehavior::ControlStarting() +bool cBehavior::ControlStarting(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { + UNUSED(a_Dt); + UNUSED(a_Chunk); return true; } @@ -25,8 +29,10 @@ bool cBehavior::ControlStarting() -bool cBehavior::ControlEnding() +bool cBehavior::ControlEnding(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { + UNUSED(a_Dt); + UNUSED(a_Chunk); return true; } @@ -34,8 +40,10 @@ bool cBehavior::ControlEnding() -void cBehavior::Tick() +void cBehavior::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { + UNUSED(a_Dt); + UNUSED(a_Chunk); LOGD("ERROR: Called a TICK on a behavior that doesn't have one."); ASSERT(1 == 0); } @@ -44,8 +52,10 @@ void cBehavior::Tick() -void cBehavior::PostTick() +void cBehavior::PostTick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { + UNUSED(a_Dt); + UNUSED(a_Chunk); LOGD("ERROR: Called a PostTick on a behavior that doesn't have one."); ASSERT(1 == 0); } @@ -54,8 +64,10 @@ void cBehavior::PostTick() -void cBehavior::PreTick() +void cBehavior::PreTick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { + UNUSED(a_Dt); + UNUSED(a_Chunk); LOGD("ERROR: Called a PreTick on a behavior that doesn't have one."); ASSERT(1 == 0); } |