|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Coordinate in proj3 |
---|
Methods in proj3 that return Coordinate | |
---|---|
Coordinate[] |
Game.getHint()
Finds two matching cards according to the rules of the game (NOTE: this method should only be called if isHintImplemented() returns true |
Methods in proj3 with parameters of type Coordinate | |
---|---|
Rank |
Game.getRank(Coordinate coordinates)
Returns a Rank enum representing the rank of the card at the specified coordinate in the tableau |
Suit |
Game.getSuit(Coordinate coordinate)
Returns a Suit enum representing the suit of the card at the specified coordinate in the tableau |
boolean |
Game.removeCards(Coordinate coordinate1,
Coordinate coordinate2)
Determines if the cards at the specified tableau locations are a match according to the rules of Monte Carlo Solitaire and if so, removes them from the tableau |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |