AddPlayer helper

This commit is contained in:
Chris Forbes
2010-03-17 22:47:04 +13:00
parent f9c940abaf
commit acf1a36e89

View File

@@ -43,6 +43,8 @@ namespace OpenRA
public readonly Dictionary<int, Player> players = new Dictionary<int, Player>(); public readonly Dictionary<int, Player> players = new Dictionary<int, Player>();
public void AddPlayer(Player p) { players[p.Index] = p; }
int localPlayerIndex; int localPlayerIndex;
public Player LocalPlayer public Player LocalPlayer
{ {