public class Card extends Object implements Comparable<Card>, Serializable
Modifier and Type | Field and Description |
---|---|
CardColour |
colour |
Integer |
value |
Constructor and Description |
---|
Card(Integer value,
CardColour colour) |
public final Integer value
public final CardColour colour
public Card(Integer value, CardColour colour)
public int compareTo(Card o)
compareTo
in interface Comparable<Card>
Copyright © 2017 FOSS Galaxy. All rights reserved.