Pause the game option.

Game is paused when PAUSE on the keyboard has been hit. It can also be unpaused this way.
This commit is contained in:
Remco van der Zon
2012-05-16 17:35:10 +02:00
parent b99e664726
commit a07697be03
6 changed files with 36 additions and 5 deletions

View File

@@ -36,6 +36,7 @@ namespace OpenRA.Network
public int LastTickTime = Environment.TickCount;
public bool GameStarted { get { return NetFrameNumber != 0; } }
public bool GamePaused {get; set;}
public IConnection Connection { get; private set; }
public readonly int SyncHeaderSize = 9;