public void Splay(SplayDirection direction) { if (Cards.Count > 1) { SplayedDirection = direction; } }
public bool AskToSplay(Color colorToSplay, SplayDirection directionToSplay) { if (Tableau.Stacks[colorToSplay].Cards.Count <= 1) { return(false); } return(AskQuestion("Splay your " + colorToSplay + " cards " + directionToSplay + "?")); }
public void RemoveCard(ICard card) { Cards.Remove(card); if (Cards.Count <= 1) { SplayedDirection = SplayDirection.None; } }