summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors/BehaviorAttackerMelee.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-08-31 11:39:38 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-08-31 11:39:38 +0200
commit209767ea0573df7d89b89874bb1e3a2cf2f4adba (patch)
tree1e151f350eeb5d13d1f1ee46c8dc20de755a36fc /src/Mobs/Behaviors/BehaviorAttackerMelee.h
parentmbedTLS merge (diff)
downloadcuberite-209767ea0573df7d89b89874bb1e3a2cf2f4adba.tar
cuberite-209767ea0573df7d89b89874bb1e3a2cf2f4adba.tar.gz
cuberite-209767ea0573df7d89b89874bb1e3a2cf2f4adba.tar.bz2
cuberite-209767ea0573df7d89b89874bb1e3a2cf2f4adba.tar.lz
cuberite-209767ea0573df7d89b89874bb1e3a2cf2f4adba.tar.xz
cuberite-209767ea0573df7d89b89874bb1e3a2cf2f4adba.tar.zst
cuberite-209767ea0573df7d89b89874bb1e3a2cf2f4adba.zip
Diffstat (limited to 'src/Mobs/Behaviors/BehaviorAttackerMelee.h')
-rw-r--r--src/Mobs/Behaviors/BehaviorAttackerMelee.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mobs/Behaviors/BehaviorAttackerMelee.h b/src/Mobs/Behaviors/BehaviorAttackerMelee.h
index b079c94fc..6e990f04c 100644
--- a/src/Mobs/Behaviors/BehaviorAttackerMelee.h
+++ b/src/Mobs/Behaviors/BehaviorAttackerMelee.h
@@ -2,8 +2,8 @@
#include "BehaviorAttacker.h"
-/** Makes the mob fight back any other mob that damages it. Mob should have BehaviorAttacker to work.
-This behavior does not make sense in combination with BehaviorCoward. */
+/** Grants the mob that ability to approach a target and then melee attack it.
+Use BehaviorAttackerMelee::SetTarget to attack. */
class cBehaviorAttackerMelee : public cBehaviorAttacker
{
public: