summaryrefslogtreecommitdiffstats
path: root/src/Mobs
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2014-07-10 22:56:59 +0200
committerSamuel Barney <samjbarney@gmail.com>2014-07-10 22:56:59 +0200
commit3b2d8a9984812ef4cceaf1698759a8ab17f5008e (patch)
treec52aa9ee39db1f1f77489545c395b08db3f5b9b1 /src/Mobs
parentStarted flushing out the AIAgressiveComponent. (diff)
downloadcuberite-3b2d8a9984812ef4cceaf1698759a8ab17f5008e.tar
cuberite-3b2d8a9984812ef4cceaf1698759a8ab17f5008e.tar.gz
cuberite-3b2d8a9984812ef4cceaf1698759a8ab17f5008e.tar.bz2
cuberite-3b2d8a9984812ef4cceaf1698759a8ab17f5008e.tar.lz
cuberite-3b2d8a9984812ef4cceaf1698759a8ab17f5008e.tar.xz
cuberite-3b2d8a9984812ef4cceaf1698759a8ab17f5008e.tar.zst
cuberite-3b2d8a9984812ef4cceaf1698759a8ab17f5008e.zip
Diffstat (limited to 'src/Mobs')
-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 cc27215c0..906b0dd28 100644
--- a/src/Mobs/Monster.h
+++ b/src/Mobs/Monster.h
@@ -116,6 +116,7 @@ public:
int GetAttackRate() { return (int)m_AttackRate; }
int GetAttackInterval() { return (int)m_AttackInterval; }
+ int GetSightDistance() { return m_SightDistance; }
void SetAttackRate(float a_AttackRate) { m_AttackRate = a_AttackRate; }
void SetAttackInterval(float a_AttackInterval) { m_AttackInterval = a_AttackInterval; }
void SetAttackRange(int a_AttackRange) { m_AttackRange = a_AttackRange; }