Merge pull request #10143 from Phrohdoh/interface-reflection

Implement a utility command to check for explicit interface implementation violations.
This commit is contained in:
Oliver Brakmann
2016-01-18 20:23:43 +01:00
14 changed files with 150 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; }
}
}