コード例 #1
0
ファイル: GameManager.cs プロジェクト: IAlpisI/DesingPatterns
 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");
 }