public Serveur(int Port) { this.Port = Port; Running = false; game = new Game1(this,null); CliManagement = new ClientsManagement(new ServeurListener(Port),null,null); }
public Serveur(int Port, Delegates.WriteLineDelegate WriteLine, Delegates.WriteDelegate Write) { this.Port = Port; Running = false; game = new Game1(this,WriteLine); CliManagement = new ClientsManagement(new ServeurListener(Port),WriteLine,Write); this.WriteLineDelegate = WriteLine; }