示例#1
0
 public void acceptInput(Cards cards)
 {
     _cards.Add(cards.getCard(1));
     _cards.Add(cards.getCard(2));
     _cards.Add(cards.getCard(3));
     _cards.Add(cards.getCard(4));
 }
示例#2
0
 public string receiveOutput()
 {
     return("card1=" + cards.getCard(1) + ", card2=" + cards.getCard(2) + ", card3=" + cards.getCard(3) +
            ", card4=" + cards.getCard(4));
 }