summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-08-22 12:32:14 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-08-22 19:55:30 +0200
commitc6cb521bf54bd90e5d60ce16ddf8be8a7a862957 (patch)
treedfb6e391b1769f12cbb3d62c621e93f27254bdb9 /src/Mobs/Behaviors
parentcmakeLists (diff)
downloadcuberite-c6cb521bf54bd90e5d60ce16ddf8be8a7a862957.tar
cuberite-c6cb521bf54bd90e5d60ce16ddf8be8a7a862957.tar.gz
cuberite-c6cb521bf54bd90e5d60ce16ddf8be8a7a862957.tar.bz2
cuberite-c6cb521bf54bd90e5d60ce16ddf8be8a7a862957.tar.lz
cuberite-c6cb521bf54bd90e5d60ce16ddf8be8a7a862957.tar.xz
cuberite-c6cb521bf54bd90e5d60ce16ddf8be8a7a862957.tar.zst
cuberite-c6cb521bf54bd90e5d60ce16ddf8be8a7a862957.zip
Diffstat (limited to 'src/Mobs/Behaviors')
-rw-r--r--src/Mobs/Behaviors/BehaviorAggressive.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/Mobs/Behaviors/BehaviorAggressive.h b/src/Mobs/Behaviors/BehaviorAggressive.h
index 43747d0e2..0235aa99b 100644
--- a/src/Mobs/Behaviors/BehaviorAggressive.h
+++ b/src/Mobs/Behaviors/BehaviorAggressive.h
@@ -9,23 +9,23 @@ class cBehaviorAggressive
{
public:
- cBehaviorAggressive(cMonster * a_Parent, int a_MinimumLight);
+ cBehaviorAggressive(cMonster * a_Parent, int a_MinimumLight);
- // cBehaviorAggressive(cMonster * a_Parent, bool a_HatesPlayer);
- // TODO agression toward specific players, and specific mobtypes, etc
- // Agression under specific conditions (nighttime, etc)
+ // cBehaviorAggressive(cMonster * a_Parent, bool a_HatesPlayer);
+ // TODO agression toward specific players, and specific mobtypes, etc
+ // Agression under specific conditions (nighttime, etc)
- // Functions our host Monster should invoke:
- bool ActiveTick();
- void Destroyed();
+ // Functions our host Monster should invoke:
+ bool ActiveTick();
+ void Destroyed();
private:
- cPawn * FindNewTarget();
+ cPawn * FindNewTarget();
- // Our parent
- cMonster * m_Parent;
- cBehaviorChaser * m_ParentChaser;
+ // Our parent
+ cMonster * m_Parent;
+ cBehaviorChaser * m_ParentChaser;
- // The mob we want to attack
- cPawn * m_Target;
+ // The mob we want to attack
+ cPawn * m_Target;
};