Ejemplo n.º 1
0
 public static Game GetForm()
 {
     if(form == null)
     {
         Game.form = new Game();
     }
     return form;
 }
Ejemplo n.º 2
0
        private int port_send = 6000; //Data outgoing port

        #endregion Fields

        #region Constructors

        public GameClient(Game game)
        {
            this.game = game;
            listnerThread = new Thread(new ThreadStart(ListenToServer));
        }