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

@@ -10,6 +10,7 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using OpenRA.Graphics;
@@ -75,6 +76,8 @@ namespace OpenRA.Mods.RA.Graphics
cache.Do(c => c.Render(wr));
}
public Rectangle ScreenBounds(WorldRenderer wr) { return Rectangle.Empty; }
public IEnumerable<IFinalizedRenderable> GenerateRenderables(WorldRenderer wr)
{
var bright = wr.World.Map.SequenceProvider.GetSequence(image, "bright");