public SorryCardGameVMData(IEventAggregator aggregator, CommandContainer command) { Deck1 = new DeckObservablePile <SorryCardGameCardInformation>(aggregator, command); Pile1 = new PileObservable <SorryCardGameCardInformation>(aggregator, command); PlayerHand1 = new HandObservable <SorryCardGameCardInformation>(command); OtherPile = new PileObservable <SorryCardGameCardInformation>(aggregator, command); OtherPile.Text = "Play Pile"; OtherPile.FirstLoad(new SorryCardGameCardInformation()); }
public RackoVMData(IEventAggregator aggregator, CommandContainer command) { Deck1 = new DeckObservablePile <RackoCardInformation>(aggregator, command); Pile1 = new PileObservable <RackoCardInformation>(aggregator, command); PlayerHand1 = new HandObservable <RackoCardInformation>(command); OtherPile = new PileObservable <RackoCardInformation>(aggregator, command); OtherPile.Text = "Current Card"; OtherPile.CurrentOnly = true; OtherPile.FirstLoad(new RackoCardInformation()); }
public TeeItUpVMData(IEventAggregator aggregator, CommandContainer command) { Deck1 = new DeckObservablePile <TeeItUpCardInformation>(aggregator, command); Pile1 = new PileObservable <TeeItUpCardInformation>(aggregator, command); PlayerHand1 = new HandObservable <TeeItUpCardInformation>(command); OtherPile = new PileObservable <TeeItUpCardInformation>(aggregator, command); OtherPile.CurrentOnly = true; OtherPile.Text = "Current Card"; OtherPile.FirstLoad(new TeeItUpCardInformation()); PlayerHand1.Visible = false; //try this too. }