Clarify method name

This commit is contained in:
Paul Chote
2010-01-04 21:12:35 +13:00
parent 88c3e21ed0
commit 5fdba51536
2 changed files with 4 additions and 4 deletions

View File

@@ -23,9 +23,9 @@ namespace OpenRa.Game.Traits
* ((float2)self.Location + .5f * (float2)unitInfo.Dimensions);
}
public bool IsActive()
public bool InsuffientPower()
{
return !(isPoweredDown || (unitInfo.Powered && self.Owner.GetPowerState() != PowerState.Normal));
return (isPoweredDown || (unitInfo.Powered && self.Owner.GetPowerState() != PowerState.Normal));
}
public int GetPowerUsage()