Example #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();
 }
Example #2
0
 public void removePlayer(string name)
 {
     HumanPlayers.Remove(name);
     computeRanks();
 }