|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Coordinates in proj2 |
---|
Methods in proj2 that return Coordinates | |
---|---|
Coordinates[] |
Game.hint()
Finds two matching cards according to the rules of the game |
Methods in proj2 with parameters of type Coordinates | |
---|---|
boolean |
Game.cardsMatch(Coordinates card1,
Coordinates card2)
Determines if the cards at the specified tableau locations are a match according to the rules of Monte Carlo Solitaire |
Rank |
Game.getRank(Coordinates coord)
Returns a Rank object representing the rank of the card at the specified Coordinates in the tableau |
Suit |
Game.getSuit(Coordinates coord)
Returns a Suit object representing the suit of the card at the specified Coordinates in the tableau |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |