Beispiel #1
0
 public override string ToString()
 {
     return(rank.ToString() + " of " + suit.ToString());
 }
Beispiel #2
0
 public Card(eRank rank, eSuit suit)
 {
     this.rank = rank;
     this.suit = suit;
     image     = (Bitmap)Properties.Resources.ResourceManager.GetObject(rank.ToString() + suit.ToString());
 }