Overlay rendering
- also, sequences for HBOX and PBOX
This commit is contained in:
@@ -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; } }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user