Пример #1
0
        private void GetOptionValue()
        {
            frmOption.Owner = Window.GetWindow(this);

            if (optionEntity == null)
            {
                optionEntity = new OptionEntity();
            }
            frmOption.SetOptionEntity(optionEntity);
            frmOption.ShowDialog();

            if (optionEntity.isContinue)
            {
                lblLevel.Content = CommonMethod.UseStringBuilder("Level : ", optionEntity.difficultyType, " Class");
                currentBombNum   = optionEntity.numForMine;
                SetBombText(0);

                GameStart();
            }
        }
Пример #2
0
 public void SetOptionEntity(OptionEntity _Entity)
 {
     this.entity = _Entity;
 }