Пример #1
0
        public wfGoClient(string name, wfGoServer svr, Form1 f)
        {
            board  = new FightBoard();
            player = new FightPlayer(name, this);
            tcp    = new TcpClient();


            heart = ConstNumber.heart;

            frm    = f;
            server = svr;
        }
Пример #2
0
 private void BtnStart_Click(object sender, EventArgs e)
 {
     server = new wfGoServer(this);
     server.Start();
 }