summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-08-22 14:43:34 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-08-22 19:55:30 +0200
commita04ad8f02f6b3babf78963dbb0a2d227918f0a35 (patch)
tree0df8eae42f1589a1c8e25b492dc80484597a59b3 /src/Mobs/Monster.h
parentd (diff)
downloadcuberite-a04ad8f02f6b3babf78963dbb0a2d227918f0a35.tar
cuberite-a04ad8f02f6b3babf78963dbb0a2d227918f0a35.tar.gz
cuberite-a04ad8f02f6b3babf78963dbb0a2d227918f0a35.tar.bz2
cuberite-a04ad8f02f6b3babf78963dbb0a2d227918f0a35.tar.lz
cuberite-a04ad8f02f6b3babf78963dbb0a2d227918f0a35.tar.xz
cuberite-a04ad8f02f6b3babf78963dbb0a2d227918f0a35.tar.zst
cuberite-a04ad8f02f6b3babf78963dbb0a2d227918f0a35.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Monster.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h
index b123791a4..d62675f2e 100644
--- a/src/Mobs/Monster.h
+++ b/src/Mobs/Monster.h
@@ -129,6 +129,7 @@ public:
void SetAttackRange(int a_AttackRange) { m_AttackRange = a_AttackRange; }
void SetAttackDamage(int a_AttackDamage) { m_AttackDamage = a_AttackDamage; }
void SetSightDistance(int a_SightDistance) { m_SightDistance = a_SightDistance; }
+ int GetSightDistance() { return m_SightDistance; }
float GetDropChanceWeapon() { return m_DropChanceWeapon; }
float GetDropChanceHelmet() { return m_DropChanceHelmet; }