public CardViewModel(CardViewModel other) : base(other) { InGamePosition = new PositionViewModel(other.InGamePosition); CardSymbol = new SymbolViewModel(other.CardSymbol); //OwningPlayer = new PlayerViewModel(other.OwningPlayer); TODO: Rekursion }
public CardSetViewModel(CardSet model) : base(model) { Card1 = new CardViewModel(model.Card1); Card2 = new CardViewModel(model.Card2); }
public CardSetViewModel(CardSetViewModel other) : base(other) { Card1 = new CardViewModel(other.Card1); Card2 = new CardViewModel(other.Card2); }
public CardSetViewModel() : base(new CardSet(new Card(), new Card())) { Card1 = new CardViewModel(); Card2 = new CardViewModel(); }