Change IPlaceBuildingDecorationInfo to use annotations.

This commit is contained in:
Paul Chote
2019-09-01 18:59:08 +01:00
committed by abcdefg30
parent 7d1ce0c83b
commit 0ff078968d
10 changed files with 20 additions and 16 deletions

View File

@@ -41,7 +41,7 @@ namespace OpenRA.Mods.Common.Traits.Render
// Computed range
Lazy<WDist> range;
public IEnumerable<IRenderable> Render(WorldRenderer wr, World w, ActorInfo ai, WPos centerPosition)
public IEnumerable<IRenderable> RenderAnnotations(WorldRenderer wr, World w, ActorInfo ai, WPos centerPosition)
{
if (range == null || range.Value == WDist.Zero)
return SpriteRenderable.None;