Rename SelectionBoxRenderable to SelectionBoxAnnotationRenderable.

This commit is contained in:
Paul Chote
2019-09-15 12:37:23 +01:00
committed by abcdefg30
parent 43e84c89ef
commit 1599eac66c
5 changed files with 10 additions and 10 deletions

View File

@@ -179,7 +179,7 @@ namespace OpenRA.Mods.Cnc.Traits
if (unit.CanBeViewedByPlayer(manager.Self.Owner))
{
var bounds = unit.TraitsImplementing<IDecorationBounds>().FirstNonEmptyBounds(unit, wr);
yield return new SelectionBoxRenderable(unit, bounds, Color.Red);
yield return new SelectionBoxAnnotationRenderable(unit, bounds, Color.Red);
}
}
}
@@ -302,7 +302,7 @@ namespace OpenRA.Mods.Cnc.Traits
if (unit.CanBeViewedByPlayer(manager.Self.Owner))
{
var bounds = unit.TraitsImplementing<IDecorationBounds>().FirstNonEmptyBounds(unit, wr);
yield return new SelectionBoxRenderable(unit, bounds, Color.Red);
yield return new SelectionBoxAnnotationRenderable(unit, bounds, Color.Red);
}
}
}