Explicitly implement ISelectionBar

This commit is contained in:
Taryn Hill
2015-12-30 08:19:50 -06:00
parent e3229f4cd8
commit 25eddb9567
9 changed files with 18 additions and 19 deletions

View File

@@ -66,7 +66,7 @@ namespace OpenRA.Mods.D2k.Traits
changingOwner = null; // It was triggered by this trait: reset
}
public float GetValue()
float ISelectionBar.GetValue()
{
if (remaining <= 0)
return 0;
@@ -74,7 +74,7 @@ namespace OpenRA.Mods.D2k.Traits
return (float)remaining / duration;
}
public Color GetColor()
Color ISelectionBar.GetColor()
{
return info.BarColor;
}