summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors/BehaviorCoward.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-08-30 09:36:24 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-08-30 09:36:24 +0200
commit5eadfdb281f1b602fe3aa3724096545a685b96e1 (patch)
tree82aa8107e23cefef770505529208ee5f7b1e5d6f /src/Mobs/Behaviors/BehaviorCoward.h
parentAdded BehaviorBrave, chaser > attacker (diff)
downloadcuberite-5eadfdb281f1b602fe3aa3724096545a685b96e1.tar
cuberite-5eadfdb281f1b602fe3aa3724096545a685b96e1.tar.gz
cuberite-5eadfdb281f1b602fe3aa3724096545a685b96e1.tar.bz2
cuberite-5eadfdb281f1b602fe3aa3724096545a685b96e1.tar.lz
cuberite-5eadfdb281f1b602fe3aa3724096545a685b96e1.tar.xz
cuberite-5eadfdb281f1b602fe3aa3724096545a685b96e1.tar.zst
cuberite-5eadfdb281f1b602fe3aa3724096545a685b96e1.zip
Diffstat (limited to 'src/Mobs/Behaviors/BehaviorCoward.h')
-rw-r--r--src/Mobs/Behaviors/BehaviorCoward.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Mobs/Behaviors/BehaviorCoward.h b/src/Mobs/Behaviors/BehaviorCoward.h
index 9058419e3..3232f807b 100644
--- a/src/Mobs/Behaviors/BehaviorCoward.h
+++ b/src/Mobs/Behaviors/BehaviorCoward.h
@@ -2,16 +2,13 @@
#include "Behavior.h"
-// Makes the mob run away from any other mob that damages it
-
-
+/** Makes the mob run away from any other mob that damages it. */
class cBehaviorCoward : cBehavior
{
public:
cBehaviorCoward();
void AttachToMonster(cMonster & a_Parent);
- // 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;