| Constructor and Description |
|---|
XCard(char suit,
int kind)
Set suit and kind of the card
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(XCard x)
Compare suites first, C,D,H,S; then kind 1,2, ....,13
|
boolean |
equals(java.lang.Object o) |
public XCard(char suit,
int kind)
suit - could be one of 'C', 'D', 'H', 'S'kind - 1,2,...13