Kill HPFraction

This commit is contained in:
Paul Chote
2011-04-11 10:47:55 +12:00
parent cd64d62b7e
commit 61db3b3965
5 changed files with 19 additions and 15 deletions

View File

@@ -43,10 +43,6 @@ namespace OpenRA.Traits
public int HP { get { return hp; } }
public readonly int MaxHP;
public float HPFraction
{
get { return hp * 1f / MaxHP; }
}
public bool IsDead { get { return hp <= 0; } }
public bool RemoveOnDeath = true;