Esempio n. 1
0
        public override void OnEndGame(Game game)
        {
            base.OnEndGame(game);

            server.BroadcastDisconnect();
            server.Close();
        }
Esempio n. 2
0
        public override void OnEndGame(Game game)
        {
            base.OnEndGame(game);

            foreach (var client in server.Clients)
            {
                client.SendDisconnect();
            }

            server.Close();
        }