コード例 #1
0
 protected override void AfterRemovingFromLastPile(int Lasts)
 {
     if (Piles.HasCardInColumn(Lasts) || GlobalClass.MainModel !.Heel1.IsEndOfDeck())
     {
         return;
     }
     Piles.AddCardToColumn(Lasts, GlobalClass.MainModel.Heel1.DrawCard());
 }
コード例 #2
0
 protected override void AfterRemovingFromLastPile(int Lasts)
 {
     if (Piles.HasCardInColumn(Lasts) || GlobalClass.MainModel !.Heel1 !.IsEndOfDeck() || GlobalClass.MainModel.Heel1.CardsLeft() == 1)
     {
         return;
     }
     Piles.AddCardToColumn(Lasts, GlobalClass.MainModel.Heel1.DrawCard());
     if (GlobalClass.MainModel.Heel1.CardsLeft() == 1)
     {
         GlobalClass.MainModel.Heel1.DeckStyle = DeckObservablePile <SolitaireCard> .EnumStyleType.AlwaysKnown;
     }
 }