summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors/BehaviorCoward.h
diff options
context:
space:
mode:
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;