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

@@ -27,7 +27,7 @@ namespace OpenRA.Mods.Common.Traits
public readonly WPos CenterPosition;
public readonly IReadOnlyDictionary<CPos, SubCell> Footprint;
public readonly Rectangle Bounds;
public readonly SelectionBoxRenderable SelectionBox;
public readonly SelectionBoxAnnotationRenderable SelectionBox;
public readonly ActorReference Actor;
public string Tooltip
@@ -94,7 +94,7 @@ namespace OpenRA.Mods.Common.Traits
Bounds = r.Union();
SelectionBox = new SelectionBoxRenderable(new WPos(CenterPosition.X, CenterPosition.Y, 8192),
SelectionBox = new SelectionBoxAnnotationRenderable(new WPos(CenterPosition.X, CenterPosition.Y, 8192),
new Rectangle(Bounds.X, Bounds.Y, Bounds.Width, Bounds.Height), Color.White);
}