Refactor send and receive Orders loop

This commit is contained in:
teinarss
2021-05-27 19:29:10 +02:00
committed by abcdefg30
parent 5e1468facb
commit f3777a25e6
7 changed files with 152 additions and 54 deletions

View File

@@ -13,6 +13,7 @@ using System;
using System.Collections.Generic;
using System.Linq;
using OpenRA.Graphics;
using OpenRA.Network;
using OpenRA.Primitives;
using OpenRA.Support;
@@ -24,7 +25,7 @@ namespace OpenRA.Widgets
public static Widget Root = new ContainerWidget();
public static long LastTickTime = Game.RunTime;
public static TickTime LastTickTime = new TickTime(() => Timestep, Game.RunTime);
static readonly Stack<Widget> WindowList = new Stack<Widget>();