diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-14 01:34:47 +0200 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-14 01:34:47 +0200 |
commit | 41ba1a7642105ac21b67f4febac3eceef6a39f0a (patch) | |
tree | aec9b8bfcde7f1ad44e2cb28149a41a091f60465 /source/Player.h | |
parent | Better split of the fluid simulator functionality; removed the old LavaSimulator and WaterSimulator files. (diff) | |
download | cuberite-41ba1a7642105ac21b67f4febac3eceef6a39f0a.tar cuberite-41ba1a7642105ac21b67f4febac3eceef6a39f0a.tar.gz cuberite-41ba1a7642105ac21b67f4febac3eceef6a39f0a.tar.bz2 cuberite-41ba1a7642105ac21b67f4febac3eceef6a39f0a.tar.lz cuberite-41ba1a7642105ac21b67f4febac3eceef6a39f0a.tar.xz cuberite-41ba1a7642105ac21b67f4febac3eceef6a39f0a.tar.zst cuberite-41ba1a7642105ac21b67f4febac3eceef6a39f0a.zip |
Diffstat (limited to 'source/Player.h')
-rw-r--r-- | source/Player.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/Player.h b/source/Player.h index 3a5f346d5..0b0a0a12c 100644 --- a/source/Player.h +++ b/source/Player.h @@ -88,15 +88,15 @@ public: void Heal( int a_Health ); //tolua_export /// Returns true if any food has been consumed, false if player "full" - bool Feed(short a_Food, float a_Saturation); + bool Feed(short a_Food, float a_Saturation); //tolua_export - short GetMaxFoodLevel() { return m_MaxFoodLevel; } - short GetFoodLevel() { return m_FoodLevel; } + short GetMaxFoodLevel() { return m_MaxFoodLevel; } //tolua_export + short GetFoodLevel() { return m_FoodLevel; } //tolua_export - float GetMaxFoodSaturationLevel() { return m_MaxFoodSaturationLevel; } - float GetFoodSaturationLevel() { return m_FoodSaturationLevel; } + float GetMaxFoodSaturationLevel() { return m_MaxFoodSaturationLevel; } //tolua_export + float GetFoodSaturationLevel() { return m_FoodSaturationLevel; } //tolua_export - void AddFoodExhaustion(float a_Exhaustion) { m_FoodExhaustionLevel += a_Exhaustion; } + void AddFoodExhaustion(float a_Exhaustion) { m_FoodExhaustionLevel += a_Exhaustion; } //tolua_export void TakeDamage( int a_Damage, cEntity* a_Instigator ); //tolua_export void KilledBy( cEntity* a_Killer ); //tolua_export |