Ejemplo n.º 1
0
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main(string[] args)
        {
            if (MessageBox.Show("Schachbrett?", "", MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.Yes)
            {
            Program.m_objCampaign = new CampaignController(new CampaignEngine(new Field_Schachbrett(5, 5)));
            }
            else
            {
            Program.m_objCampaign = new CampaignController(new CampaignEngine(new Field_Schlauch(8)));
            }

              using (clsProtoClient game = new clsProtoClient())
              {
            game.Run();
              }
        }
Ejemplo n.º 2
0
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main(string[] args)
        {
            if (MessageBox.Show("Schachbrett?", "", MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.Yes)
            {
                Program.m_objCampaign = new CampaignController(new CampaignEngine(new Field_Schachbrett(5, 5)));
            }
            else
            {
                Program.m_objCampaign = new CampaignController(new CampaignEngine(new Field_Schlauch(8)));
            }

            using (clsProtoClient game = new clsProtoClient())
            {
                game.Run();
            }
        }