Exemplo n.º 1
0
 public void modifyPlayer(Player player, string newname, bool terran, bool zerg, bool protoss, bool random)
 {
     HumanPlayers.Remove(player.Name);
     player.Name = newname;
     player.raceMask(terran, zerg, protoss, random);
     HumanPlayers.Add(newname, player);
     computeRanks();
 }
Exemplo n.º 2
0
 public void removePlayer(string name)
 {
     HumanPlayers.Remove(name);
     computeRanks();
 }