Card Class

master
sgoudham 4 years ago
parent 689b1ebd94
commit 283e557473
No known key found for this signature in database
GPG Key ID: EF51A29A50FB754C

@ -0,0 +1,27 @@
public class Card {
private String suit;
private int face;
public Card(String suit, int face) {
this.suit = suit.toUpperCase();
this.face = face;
}
public String getSuit() {
return suit;
}
public void setSuit(String suit) {
this.suit = suit.toUpperCase();
}
public int getFace() {
return face;
}
public void setFace(int face) {
this.face = face;
}
}
Loading…
Cancel
Save