public virtual void CopyOntoSelf(IAEActionViewModel source) { if (source.AEAction != AEAction || source.Equals(this)) { return; } var sourceObject = source as TrashMobBattleViewModel; this.CopyTurnList(sourceObject.TurnList); }
public void CopyOntoSelf(IAEActionViewModel source) { if (source.AEAction != AEAction || source.Equals(this)) { return; } var sourceObject = source as WaitViewModel; this.WaitTime = sourceObject.WaitTime; }
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); }