Move DrawRollover to WICW.

This commit is contained in:
Paul Chote
2015-12-10 17:16:25 +00:00
parent 0f1fcdaca4
commit 43226d7c55
2 changed files with 9 additions and 8 deletions

View File

@@ -204,12 +204,6 @@ namespace OpenRA.Graphics
Game.Renderer.Flush();
}
public void DrawRollover(Actor unit)
{
if (unit.Info.HasTraitInfo<SelectableInfo>())
new SelectionBarsRenderable(unit, true, true).Render(this);
}
public void RefreshPalette()
{
palette.ApplyModifiers(World.WorldActor.TraitsImplementing<IPaletteModifier>());