Пример #1
0
 public EffectViewModel(EffectViewModel copy)
 {
     Name        = copy.Name;
     Suit        = copy.Suit;
     Level       = copy.Level;
     Description = copy.Description;
 }
Пример #2
0
        public CharacterViewModel()
        {
            EffectViewModel.InitSampleEffects();

            EffectsSheet = new EffectsSheetViewModel();

            InitTestCharacter();
            InitSampleSlots();
        }
Пример #3
0
        internal void PushEffect(EffectViewModel effectViewModel)
        {
            if (ActiveEffect != null)
            {
                ActiveEffect.IsTop = false;
            }

            SlottedEffects.Add(effectViewModel);

            effectViewModel.IsSlotted = true;
            effectViewModel.IsTop     = true;
        }