Exemple #1
0
        public virtual void CopyOntoSelf(IAEActionViewModel source)
        {
            if (source.AEAction != AEAction || source.Equals(this))
            {
                return;
            }

            var sourceObject = source as TrashMobBattleViewModel;

            this.CopyTurnList(sourceObject.TurnList);
        }
Exemple #2
0
        public void CopyOntoSelf(IAEActionViewModel source)
        {
            if (source.AEAction != AEAction || source.Equals(this))
            {
                return;
            }

            var sourceObject = source as WaitViewModel;

            this.WaitTime = sourceObject.WaitTime;
        }
Exemple #3
0
        public override void CopyOntoSelf(IAEActionViewModel source)
        {
            if (source.AEAction != AEAction || source.Equals(this))
            {
                return;
            }

            base.CopyOntoSelf(source);

            var sourceObject = source as EXPBattleViewModel;

            this.Loop           = sourceObject.Loop;
            this.BattleExitTime = sourceObject.BattleExitTime;

            SelectedLeftRight = new ObservableCollection <Action>(sourceObject.SelectedLeftRight);
        }