示例#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;
 }