Ejemplo n.º 1
0
 public GameFrm(Socket OwnerSocket, Roomslist parentFrm)
 {
     InitializeComponent();
     this.Owner = OwnerSocket;
     parentForm = parentFrm;
     recBuffer  = new byte[2048];
     sendBuffer = new byte[2048];
 }
Ejemplo n.º 2
0
 public GameFrm(Player player, Room room, Roomslist parentFrm)
 {
     InitializeComponent();
     InGamePlayers = new List <Player>();
     Watchers      = new List <Player>();
     Owner         = player;
     InGamePlayers.Add(Owner);
     Room       = room;
     parentForm = parentFrm;
     recBuffer  = new byte[2048];
     sendBuffer = new byte[2048];
 }