summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors/BehaviorItemFollower.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/BehaviorItemFollower.h
parentmerge (diff)
downloadcuberite-40503ab8912c21c8f7913b190fcf835dd8ad18d1.tar
cuberite-40503ab8912c21c8f7913b190fcf835dd8ad18d1.tar.gz
cuberite-40503ab8912c21c8f7913b190fcf835dd8ad18d1.tar.bz2
cuberite-40503ab8912c21c8f7913b190fcf835dd8ad18d1.tar.lz
cuberite-40503ab8912c21c8f7913b190fcf835dd8ad18d1.tar.xz
cuberite-40503ab8912c21c8f7913b190fcf835dd8ad18d1.tar.zst
cuberite-40503ab8912c21c8f7913b190fcf835dd8ad18d1.zip
Diffstat (limited to 'src/Mobs/Behaviors/BehaviorItemFollower.h')
-rw-r--r--src/Mobs/Behaviors/BehaviorItemFollower.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Mobs/Behaviors/BehaviorItemFollower.h b/src/Mobs/Behaviors/BehaviorItemFollower.h
index 8c79ec763..e381b5e36 100644
--- a/src/Mobs/Behaviors/BehaviorItemFollower.h
+++ b/src/Mobs/Behaviors/BehaviorItemFollower.h
@@ -5,7 +5,15 @@ class cBehaviorItemFollower;
#include "Behavior.h"
/** Makes the mob follow specific items when held by the player.
-Currently relies on cMonster::GetFollowedItems for the item list. */
+Currently relies on cMonster::GetFollowedItems for the item list.
+
+Connections to other behaviors:
+ - None
+
+Special connections:
+ - Relies on the polymorphic cMonster::GetFollowedItems function to determine the followed items.
+
+*/
class cBehaviorItemFollower : public cBehavior
{
public: