diff options
author | Samuel Barney <samjbarney@gmail.com> | 2014-07-10 22:12:55 +0200 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2014-07-10 22:12:55 +0200 |
commit | 9007ef2da16ce973d8d1bf0579f029cb6c66546c (patch) | |
tree | ff78b374de204354b9748e0a692cee1c658bac8f /src/Mobs/Monster.h | |
parent | Merge branch 'ComponentRewrite' of https://github.com/mc-server/MCServer (diff) | |
download | cuberite-9007ef2da16ce973d8d1bf0579f029cb6c66546c.tar cuberite-9007ef2da16ce973d8d1bf0579f029cb6c66546c.tar.gz cuberite-9007ef2da16ce973d8d1bf0579f029cb6c66546c.tar.bz2 cuberite-9007ef2da16ce973d8d1bf0579f029cb6c66546c.tar.lz cuberite-9007ef2da16ce973d8d1bf0579f029cb6c66546c.tar.xz cuberite-9007ef2da16ce973d8d1bf0579f029cb6c66546c.tar.zst cuberite-9007ef2da16ce973d8d1bf0579f029cb6c66546c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Monster.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h index 7d7e90eb2..cc27215c0 100644 --- a/src/Mobs/Monster.h +++ b/src/Mobs/Monster.h @@ -115,7 +115,9 @@ public: virtual void InStateEscaping(float a_Dt); int GetAttackRate() { return (int)m_AttackRate; } + int GetAttackInterval() { return (int)m_AttackInterval; } 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; } void SetAttackDamage(int a_AttackDamage) { m_AttackDamage = a_AttackDamage; } void SetSightDistance(int a_SightDistance) { m_SightDistance = a_SightDistance; } |