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

@@ -78,8 +78,7 @@ namespace OpenRA.Mods.Common.Traits
Color.FromArgb(96, Color.Black));
}
// Selection bar
public float GetValue()
float ISelectionBar.GetValue()
{
// Visible to player and allies
if (!ValidRenderPlayer())
@@ -92,6 +91,6 @@ namespace OpenRA.Mods.Common.Traits
return (float)progress / total;
}
public Color GetColor() { return Color.Purple; }
Color ISelectionBar.GetColor() { return Color.Purple; }
}
}