highAceFix static method
- Card c
Make low aces high, leave other cards alone
Implementation
static Card highAceFix(Card c) {
if (c.index >= Card.LowAceOfClubs.index &&
c.index <= Card.LowAceOfSpades.index) {
return Card
.values[c.index + (Card.AceOfClubs.index - Card.LowAceOfClubs.index)];
}
return c;
}