public GameManager(HttpClient client) { this.client = client; lobby = new Lobby(client); algorithmFactory = new AlgorithmFactory(); player = new Player(); factory = new FactionFactory(); standart = algorithmFactory.GetDefault("Standart"); hopper = algorithmFactory.GetDefault("Hopper"); tower = algorithmFactory.GetDefault("Tower"); teleport = algorithmFactory.GetDefault("Teleport"); }