|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of Player in |
| Classes in Default Package that implement Player | |
class |
TicTacToePlayer
Tic-Tac-Toe Game: A Player object represents a player in a grid-based
game that acts in response to mouse clicks in the grid. |
| Methods in Default Package that return Player | |
Player |
WhiteBlackGame.whitePlayer()
Returns the player represented by white. |
Player |
WhiteBlackGame.blackPlayer()
Returns the player represented by black. |
| Constructors in Default Package with parameters of type Player | |
WhiteBlackGame(Player white,
Player black)
Constructs a game for 2 players, white and black. |
|
WhiteBlackGame(Player white,
Player black)
Constructs a game for 2 players, white and black. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||