diff options
author | Samuel Barney <samjbarney@gmail.com> | 2014-08-20 16:28:45 +0200 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2014-08-20 16:28:45 +0200 |
commit | eb6f664545b4917feab5bcadf30616d07da7d9d6 (patch) | |
tree | 7734c9595de75c6a0415a757f812f05c66b19553 /src/Mobs/Monster.h | |
parent | Revert "Fixed all compile errors for AIAggressiveComponent and AIComponent." (diff) | |
download | cuberite-eb6f664545b4917feab5bcadf30616d07da7d9d6.tar cuberite-eb6f664545b4917feab5bcadf30616d07da7d9d6.tar.gz cuberite-eb6f664545b4917feab5bcadf30616d07da7d9d6.tar.bz2 cuberite-eb6f664545b4917feab5bcadf30616d07da7d9d6.tar.lz cuberite-eb6f664545b4917feab5bcadf30616d07da7d9d6.tar.xz cuberite-eb6f664545b4917feab5bcadf30616d07da7d9d6.tar.zst cuberite-eb6f664545b4917feab5bcadf30616d07da7d9d6.zip |
Diffstat (limited to 'src/Mobs/Monster.h')
-rw-r--r-- | src/Mobs/Monster.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h index 1ac5b8253..906b0dd28 100644 --- a/src/Mobs/Monster.h +++ b/src/Mobs/Monster.h @@ -71,8 +71,6 @@ 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; @@ -119,8 +117,6 @@ 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; } @@ -178,6 +174,8 @@ 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); |