summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors/BehaviorAttacker.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-09-08 16:52:30 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-09-08 16:52:30 +0200
commit40503ab8912c21c8f7913b190fcf835dd8ad18d1 (patch)
tree5ec63036a2c852704a92e8ce1b3f111a13ed8d0a /src/Mobs/Behaviors/BehaviorAttacker.h
parentmerge (diff)
downloadcuberite-mobs2.tar
cuberite-mobs2.tar.gz
cuberite-mobs2.tar.bz2
cuberite-mobs2.tar.lz
cuberite-mobs2.tar.xz
cuberite-mobs2.tar.zst
cuberite-mobs2.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Behaviors/BehaviorAttacker.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Mobs/Behaviors/BehaviorAttacker.h b/src/Mobs/Behaviors/BehaviorAttacker.h
index 428e7a340..51a446eca 100644
--- a/src/Mobs/Behaviors/BehaviorAttacker.h
+++ b/src/Mobs/Behaviors/BehaviorAttacker.h
@@ -8,7 +8,15 @@ class cBehaviorAttacker;
/** Grants attack capability to the mob. Note that this is not the same as agression!
The mob may possess this trait and not attack anyone or only attack when provoked.
Unlike most traits, this one has several forms, and therefore it is an abstract type
-You should use one of its derived classes, and you cannot use it directly. */
+You should use one of its derived classes, and you cannot use it directly.
+
+Connections to other behaviors:
+ - Some behaviors may call cBehaviorAttacker::SetTarget
+
+Special connections:
+ - None.
+
+*/
class cBehaviorAttacker : public cBehavior
{