Example #1
0
 /// <summary>
 /// Конструктор RPGForm
 /// </summary>
 public RPGForm()
 {
     InitializeComponent();
     form = this;
     game = new Game(ref form);
     Text = "В поисках сокровищ!";
     Icon = Properties.Resources.ResourceManager.GetObject("khorne") as System.Drawing.Icon;
 }
Example #2
0
        /// <summary>
        /// Конструктор Game
        /// </summary>
        /// <param name="form"></param>
        public Game(ref RPGForm form)
        {
            this.Form = form;
            LabelHelp();

            //Form.checkBoxMusic.CheckedChanged +=checkBoxMusic_CheckedChanged;
            rand = new Random();

            StartGame();
        }