- selectPiece(Coordinate) - Method in class javacheckers.model.Board
-
Get the piece at the given board coordinate
- send(Object) - Method in class javacheckers.networking.Client
-
Add a message to the queue to be sent to the host.
- sendMove(Move) - Method in class javacheckers.controller.GameController
-
Send the given move to the server
- sendToAll(Object) - Method in class javacheckers.networking.Host
-
Sends a specified Object as a message to all connected clients.
- sendToOne(int, Object) - Method in class javacheckers.networking.Host
-
Sends a specified Object as a message to the client with the specified ID.
- serverShutdown(String) - Method in class javacheckers.networking.Client
-
Called when the connectino to the host is shutdown because the server is shutting down.
- setAutoreset(boolean) - Method in class javacheckers.networking.Client
-
Set the autoreset property, which determines if output streams will be reset before every transmission.
- setAutoreset(boolean) - Method in class javacheckers.networking.Host
-
If autoreset is set to true, all output streams will be reset before each transmission.
- setChainMove(boolean) - Method in class javacheckers.model.Move
-
- setPreviousMove(Move) - Method in class javacheckers.model.Move
-
- setUsername(String) - Method in class javacheckers.controller.GameController
-
Set the local player's username
- setUserName(String) - Method in class javacheckers.controller.JoinGameMenuController
-
Set this user's username
- showGameEndDialog() - Method in class javacheckers.controller.GameController
-
Show a dialog box displaying the winner of the game
- showInvalidHostDialog() - Method in class javacheckers.controller.JoinGameMenuController
-
Displays an error box if the selected host is not valid for some reason
- showOpponentDisconnectDialog() - Method in class javacheckers.controller.GameController
-
Show a dialog displaying that the opponent has been disconnected from the server
- shudownHost() - Method in class javacheckers.networking.Host
-
Disconnect all currently connected clients and stop accepting new clients.
- shutdown() - Method in class javacheckers.networking.BroadcastReceiver
-
Shutdown the broadcaster
- shutdownServerSocket() - Method in class javacheckers.networking.Host
-
Stops listening without dropping connections.
- SQUARE_SIZE - Static variable in class javacheckers.controller.GameController
-
- start(Stage) - Method in class javacheckers.view.Main
-
- startBroadcastReceiver() - Method in class javacheckers.controller.JoinGameMenuController
-
Start the broadcast receiver to start detecting active hosts
- startClient(String) - Method in class javacheckers.controller.GameController
-
Start the client connection to the host
- startGame(String) - Method in class javacheckers.controller.GameController
-
Start the game
- startHost(String) - Method in class javacheckers.controller.GameController
-
Start the host for the game
- switchCurrentUser() - Method in class javacheckers.model.Board
-
Switch the current user to the opposing user