Ejemplo n.º 1
0
        private void AddEffect(object obj)
        {
            var window = new AddTrainerEffectWindow();

            if (window.ShowDialog().Value)
            {
                SelectedEnergyCard.Effects.Add(window.SelectedEffect);
                SelectedEffect = SelectedEnergyCard.Effects.Last();
            }
        }
Ejemplo n.º 2
0
        private void AddAbilityEffect(object obj)
        {
            var window = new AddTrainerEffectWindow();

            if (window.ShowDialog().Value)
            {
                card.Ability.Effects.Add(window.SelectedEffect);
                //SelectedAbilityEffect = card.Ability.Effects.Last();
            }
        }