Introduce IFinalizedRenderable.ScreenBounds.

This commit is contained in:
Paul Chote
2015-02-10 14:26:44 +00:00
parent c55d723fb4
commit db1a27b071
11 changed files with 60 additions and 0 deletions

View File

@@ -55,5 +55,7 @@ namespace OpenRA.Mods.Common.Graphics
var offset = wr.ScreenPxPosition(pos) - 0.5f * size;
Game.Renderer.WorldLineRenderer.DrawRect(offset, offset + size, Color.Red);
}
public Rectangle ScreenBounds(WorldRenderer wr) { return Rectangle.Empty; }
}
}