Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
T
U
V
W
S
Secondscreen
- Class in
<Unnamed>
This is the second screen of options.
Secondscreen(Facade, Firstscreen, int)
- Constructor for class
Secondscreen
Creates new Secondscreen
selectSpace(int)
- Method in class
Facade
This method should be called to select a space on the board, either as the starting point or the ending point for a move.
sendColor()
- Method in class
NetworkPlayer
This method sends the color of this player to the other computer; will only be executed by the host computer.
sendCommand(int)
- Method in class
NetworkPlayer
This method sends some command over network to the local system
sendMove()
- Method in class
NetworkPlayer
The move is sent to the remote player
sendName()
- Method in class
NetworkPlayer
This method sends the name of this player to the other computer
setBegin()
- Method in class
TestingKernel
Set the state of the game to initial settings.
setColor(Color)
- Method in class
Player
Set the color for this player.
setGameMode(int)
- Method in class
Driver
Select the type of game
setGameMode(int)
- Method in class
Facade
Set the game mode: a local game or a network game
setHost(URL)
- Method in class
Driver
This method sets the host the player will play against in case of a game over a network.
setHost(URL)
- Method in class
Facade
Tell the kernel to connect to the specified host to start a network game.
setHost(URL)
- Method in class
NetworkPlayer
Set the host that we'll connect to if we're a remote system
setName(String)
- Method in class
Player
Sets the players name
setPlayerColor(int, Color)
- Method in class
Driver
Set the color for a player using the passed in value.
setPlayerModes(Player, Player)
- Method in class
Facade
Set which players turn it is.
setPlayerName(int, String)
- Method in class
Driver
Set the name for the player using the passed in values.
setPlayerName(int, String)
- Method in class
Facade
Tell the kernel to associate the given name with the given player number.
setTimer(int, int)
- Method in class
Driver
This method creates the timer to be used, if one is desired to be used.
setTimer(int, int)
- Method in class
Facade
Tell the kernel to set a time limit for each turn.
showEndGame(String)
- Method in class
Facade
Display to local players that the game has ended with the message provided.
simpleWait()
- Method in class
TestingKernel
This method is a generic way to put in place an artificial wait into the program.
SINGLE
- Static variable in class
Board
SinglePiece
- Class in
<Unnamed>
This is a class representing a single piece (a piece that has not been kinged yet)
SinglePiece(Color)
- Constructor for class
SinglePiece
This constructor creates a single piece checker object
sizeOf()
- Method in class
Board
This method returns the size of the board
startGame()
- Method in class
Driver
This method will start the game play.
startGame()
- Method in class
Facade
Call the driver and begin the game.
startLocation()
- Method in class
Move
Return the starting location of this move.
startLocation()
- Method in class
NetworkMove
Return the starting location of this move.
stateChanged(ChangeEvent)
- Method in class
Secondscreen
stateOfBoard()
- Method in class
Facade
Notifies everything of the sta eof the board
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
R
S
T
U
V
W