|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Player in <Unnamed> |
---|
Subclasses of Player in <Unnamed> | |
---|---|
class |
LocalPlayer
This class inherits from the player. |
class |
NetworkPlayer
This class inerits from player. |
Fields in <Unnamed> declared as Player | |
---|---|
Player |
Facade.activePlayer
|
Player |
Facade.passivePlayer
|
Player |
Move.thePlayer
The player that this move is intended for. |
Methods in <Unnamed> that return Player | |
---|---|
Player |
Driver.getOppositePlayer()
Return the player whos turn it is not |
Player |
Move.getPlayer()
Return the player who made this move |
Methods in <Unnamed> with parameters of type Player | |
---|---|
void |
LocalPlayer.acceptDraw(Player player)
When the current player accepts a draw, this method is called in the opposite player to inform them that the draw has been accepted. |
abstract void |
Player.acceptDraw(Player player)
When the current player accepts a draw, this method is called in the opposite player to inform them that the draw has been accepted. |
void |
NetworkPlayer.acceptDraw(Player player)
When the current player accepts a draw, this method is called in the opposite player to inform them that the draw has been accepted. |
void |
Driver.declineDraw(Player player)
The offer for a draw has been made. |
void |
Driver.drawOffered(Player player)
This method is called if a draw has been offered |
void |
LocalPlayer.endInDeclineDraw(Player player)
Method is invoked if the other player declines a draw. |
abstract void |
Player.endInDeclineDraw(Player player)
Method is invoked if the other player declines a draw. |
void |
NetworkPlayer.endInDeclineDraw(Player player)
|
void |
LocalPlayer.endInDraw(Player player)
Method that is invoked when the end of game conditions have been met. |
abstract void |
Player.endInDraw(Player player)
Method that is invoked when the end of game conditions have been met. |
void |
Driver.endInDraw(Player player)
This method ends the game in a draw, alerting both players that the draw has taken place |
void |
NetworkPlayer.endInDraw(Player player)
|
void |
Driver.endInQuit(Player player)
Ends the game as a result of a player quitting, notifying each player |
void |
Driver.endTurn(Player player,
int space)
This method is called after a move has been checked. |
void |
LocalPlayer.offerDraw(Player player)
When the current player clicks the draw button, this method is called in the opposite player to inform them that a draw has been offered. |
abstract void |
Player.offerDraw(Player player)
When the current player clicks the draw button, this method is called in the opposite player to inform them that a draw has been offered. |
void |
NetworkPlayer.offerDraw(Player player)
A DRAWOFFER message is sent to the remote player. |
void |
Facade.setPlayerModes(Player active,
Player passive)
Set which players turn it is. |
Constructors in <Unnamed> with parameters of type Player | |
---|---|
Move(Player player,
int startLoc,
int endLoc)
Create a move with the starting location and ending location passed in as paremeters. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |