diff options
Diffstat (limited to 'source/cPawn.h')
-rw-r--r-- | source/cPawn.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/source/cPawn.h b/source/cPawn.h index 2c4444174..dbf60d59e 100644 --- a/source/cPawn.h +++ b/source/cPawn.h @@ -47,23 +47,11 @@ public: virtual void SetMaxHealth(short a_MaxHealth); virtual short GetMaxHealth() { return m_MaxHealth; } - //virtual void SetMaxFood(short a_MaxFood); - virtual short GetMaxFood() { return m_MaxFoodLevel / 6; } - virtual short GetFood() { return m_FoodLevel / 6; } - - //virtual void SetMaxFoodSaturation(float a_MaxFoodSaturation); - virtual float GetMaxFoodSaturation() { return fmod(m_MaxFoodLevel, 6.f); } - virtual float GetFoodSaturation() { return fmod(m_FoodLevel, 6.f); } - - virtual void SetMaxFoodLevel(short a_MaxFoodLevel); - virtual short GetMaxFoodLevel() { return m_MaxFoodLevel; } - protected: short m_Health; - short m_FoodLevel; short m_MaxHealth; - short m_MaxFoodLevel; + bool m_bBurnable; |