private void AddEffect(object obj) { var window = new AddTrainerEffectWindow(); if (window.ShowDialog().Value) { SelectedEnergyCard.Effects.Add(window.SelectedEffect); SelectedEffect = SelectedEnergyCard.Effects.Last(); } }
private void AddAbilityEffect(object obj) { var window = new AddTrainerEffectWindow(); if (window.ShowDialog().Value) { card.Ability.Effects.Add(window.SelectedEffect); //SelectedAbilityEffect = card.Ability.Effects.Last(); } }