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