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