Introduce IFinalizedRenderable.ScreenBounds.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user