Add getMaxDamage() method. This will be needed for the forthcoming HealthTextHud GuiControl.

This commit is contained in:
thecelloman 2012-10-04 15:55:46 -04:00
parent a6f54b7b44
commit 99e8bcb817
2 changed files with 15 additions and 0 deletions

View file

@ -1265,6 +1265,9 @@ public:
///
/// @return Damage factor, between 0.0 - 1.0
F32 getDamageValue();
/// Returns the datablock.maxDamage value
F32 getMaxDamage();
/// Returns the rate at which the object regenerates damage
F32 getRepairRate() { return mRepairRate; }