예제 #1
0
파일: Labirint.cs 프로젝트: hely80/Sokoban
 // Client
 public Labirint(string host, string port)
 {
     mode = 2;
     phone = new PhoneClient(host, int.Parse(port));
     phone.Recv += Recv;
     phone.Start();
     my_user = 2;
     ot_user = 1;
     Init();
 }
예제 #2
0
파일: Labirint.cs 프로젝트: hely80/Sokoban
 // Server
 public Labirint(string port)
 {
     mode = 2;
     phone = new PhoneServer(int.Parse(port));
     phone.Recv += Recv;
     phone.Start();
     my_user = 1;
     ot_user = 2;
     Init();
 }