示例#1
0
        private void startGameToolStripMenuItem_Click(object sender, EventArgs e)
        {
            isBatch = false;

            if (agent == null || agent.Networkstatus == AbstractAgent.NetStatus.NotConnected)
            {
                InitializeAgent();
            }

            SetNetworkStateStatus(true);
            agent.StartPlaying(HEIGHT, WIDTH, MINES_COUNT, true);
        }