Overlay rendering

- also, sequences for HBOX and PBOX
This commit is contained in:
Bob
2009-10-10 21:23:33 +13:00
parent 4fa05a6d40
commit b880f7d1bc
10 changed files with 152 additions and 76 deletions

View File

@@ -5,7 +5,7 @@ using System.Windows.Forms;
namespace OpenRa.Game
{
class World
{
{
List<Actor> actors = new List<Actor>();
List<Action<World>> frameEndActions = new List<Action<World>>();
@@ -19,8 +19,6 @@ namespace OpenRa.Game
int lastTime = Environment.TickCount + 2000;
public void Update()
{
int t = Environment.TickCount;
@@ -35,8 +33,8 @@ namespace OpenRa.Game
foreach (Action<World> a in frameEndActions) a(this);
frameEndActions.Clear();
}
}
public IEnumerable<Actor> Actors { get { return actors; } }
}
}