public class PerfectHand extends Object implements SimpleHand
Constructor and Description |
---|
PerfectHand(int size) |
PerfectHand(PerfectHand hand) |
Modifier and Type | Method and Description |
---|---|
CardColour[] |
getColours(int slot) |
int |
getSize() |
Integer[] |
getValues(int slot) |
boolean |
isPossible(int slot,
CardColour colour) |
boolean |
isPossible(int slot,
Integer value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isPossible
public PerfectHand(PerfectHand hand)
public PerfectHand(int size)
public boolean isPossible(int slot, Integer value)
isPossible
in interface SimpleHand
public int getSize()
getSize
in interface SimpleHand
public CardColour[] getColours(int slot)
getColours
in interface SimpleHand
public Integer[] getValues(int slot)
getValues
in interface SimpleHand
public boolean isPossible(int slot, CardColour colour)
isPossible
in interface SimpleHand
Copyright © 2017 FOSS Galaxy. All rights reserved.