Esempio n. 1
0
        public Serveur(int Port)
        {
            this.Port = Port;
            Running = false;

            game = new Game1(this,null);
            CliManagement = new ClientsManagement(new ServeurListener(Port),null,null);
        }
Esempio n. 2
0
        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;
        }