IOrderGenerator now renders itself (Removed various cast and is fails.). - Fixed silly bug in prev.

This commit is contained in:
Bob
2009-11-14 03:09:27 +13:00
parent c285f1d210
commit 5e3f2aa861
6 changed files with 140 additions and 132 deletions

View File

@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
namespace OpenRa.Game
{
@@ -28,5 +28,11 @@ namespace OpenRa.Game
{
selection.RemoveAll(a => a.IsDead);
}
public void Render()
{
foreach( var a in selection )
Game.worldRenderer.DrawSelectionBox( a, Color.White, true );
}
}
}