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(); } }
public void SetOptionEntity(OptionEntity _Entity) { this.entity = _Entity; }