diff options
author | Samuel Barney <samjbarney@gmail.com> | 2014-07-10 23:51:36 +0200 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2014-07-10 23:51:36 +0200 |
commit | e5b0964895ebefa7ef77c9879419cf46ee1f216d (patch) | |
tree | 5310965e089bf9d78269d86a4eebe4d5f14533e6 /src | |
parent | Fixed include paths. (diff) | |
download | cuberite-e5b0964895ebefa7ef77c9879419cf46ee1f216d.tar cuberite-e5b0964895ebefa7ef77c9879419cf46ee1f216d.tar.gz cuberite-e5b0964895ebefa7ef77c9879419cf46ee1f216d.tar.bz2 cuberite-e5b0964895ebefa7ef77c9879419cf46ee1f216d.tar.lz cuberite-e5b0964895ebefa7ef77c9879419cf46ee1f216d.tar.xz cuberite-e5b0964895ebefa7ef77c9879419cf46ee1f216d.tar.zst cuberite-e5b0964895ebefa7ef77c9879419cf46ee1f216d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Monster.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h index 906b0dd28..1ac5b8253 100644 --- a/src/Mobs/Monster.h +++ b/src/Mobs/Monster.h @@ -71,6 +71,8 @@ public: } ; // tolua_end + /** Coordinates for the ultimate, final destination. */ + Vector3d m_FinalDestination; enum MState{ATTACKING, IDLE, CHASING, ESCAPING} m_EMState; enum MPersonality{PASSIVE,AGGRESSIVE,COWARDLY} m_EMPersonality; @@ -117,6 +119,8 @@ public: int GetAttackRate() { return (int)m_AttackRate; } int GetAttackInterval() { return (int)m_AttackInterval; } int GetSightDistance() { return m_SightDistance; } + int GetAttackDamage() { return m_AttackDamage; } + int GetAttackRange() { return m_AttackRange; } 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; } @@ -174,8 +178,6 @@ protected: cEntity * m_Target; /** Coordinates of the next position that should be reached */ Vector3d m_Destination; - /** Coordinates for the ultimate, final destination. */ - Vector3d m_FinalDestination; /** Returns if the ultimate, final destination has been reached */ bool ReachedFinalDestination(void); |