diff options
author | Samuel Barney <samjbarney@gmail.com> | 2014-07-10 22:56:59 +0200 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2014-07-10 22:56:59 +0200 |
commit | 3b2d8a9984812ef4cceaf1698759a8ab17f5008e (patch) | |
tree | c52aa9ee39db1f1f77489545c395b08db3f5b9b1 | |
parent | Started flushing out the AIAgressiveComponent. (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Mobs/Monster.h | 1 |
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; } |