Add IActorPreview.ScreenBounds.

This commit is contained in:
Paul Chote
2017-12-05 18:27:17 +00:00
committed by reaperrr
parent 29255c8e01
commit cdc426d162
3 changed files with 15 additions and 0 deletions

View File

@@ -11,6 +11,7 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using OpenRA.Graphics;
using OpenRA.Mods.Common.Traits;
using OpenRA.Primitives;
@@ -22,6 +23,7 @@ namespace OpenRA.Mods.Common.Graphics
{
void Tick();
IEnumerable<IRenderable> Render(WorldRenderer wr, WPos pos);
IEnumerable<Rectangle> ScreenBounds(WorldRenderer wr, WPos pos);
}
public class ActorPreviewInitializer : IActorInitializer