Exemplo n.º 1
0
        private void SavingThrows()
        {
            myCharacter.SetSaveValues();

            chkbxSavingStr.IsChecked = myCharacter.StrSavingThrowBool;
            chkbxSavingDex.IsChecked = myCharacter.DexSavingThrowBool;
            chkbxSavingCon.IsChecked = myCharacter.ConSavingThrowBool;
            chkbxSavingInt.IsChecked = myCharacter.IntSavingThrowBool;
            chkbxSavingWis.IsChecked = myCharacter.WisSavingThrowBool;
            chkbxSavingCha.IsChecked = myCharacter.ChaSavingThrowBool;

            lblSavingStr.Content = myCharacter.StrSavingThrowBonus.ToString();
            lblSavingDex.Content = myCharacter.DexSavingThrowBonus.ToString();
            lblSavingCon.Content = myCharacter.ConSavingThrowBonus.ToString();
            lblSavingInt.Content = myCharacter.IntSavingThrowBonus.ToString();
            lblSavingWis.Content = myCharacter.WisSavingThrowBonus.ToString();
            lblSavingCha.Content = myCharacter.ChaSavingThrowBonus.ToString();
        }