A B C D E F G H I J K L M N O P R S T U V W

G

GameController - Class in checkers.controller
An interface between the GUI and the kernel classes in a checkers game.
GameController(CheckersGame) - Constructor for class checkers.controller.GameController
Creates the controller with a reference to the game.
getColor() - Method in class checkers.model.Piece
This method returns the color of this piece
getCurrentTurn() - Method in class checkers.model.CheckersGame
 
getInstance() - Static method in class checkers.model.Rules
getInstance Creates the singleton instance of the Rules object
getIP() - Method in class checkers.view.Firstscreen
 
getJumpIndex() - Method in class checkers.model.Move
If the move is a jump, returns the index of the jumped piece.
getJumpIndex() - Method in class checkers.model.Rules
getJumpIndex get the index of the jumped piece
getMessage() - Method in class checkers.model.CheckersGame
 
getMove() - Method in class checkers.model.NetPacket
 
getPieceAt(int) - Method in class checkers.model.Board
This method returns the piece at the certain position
getPieces(int) - Method in class checkers.model.Board
This method is a replacement for bluePieces and whitePieces.
getPlayer1() - Method in class checkers.model.NetPacket
 
getPlayer1Color() - Method in class checkers.model.NetPacket
 
getPlayer2() - Method in class checkers.model.NetPacket
 
getPlayerColor(int) - Method in class checkers.model.CheckersGame
Returns color for player number passed in
getPlayerName(int) - Method in class checkers.model.CheckersGame
Returns the name of player with number passed in
getPlayerNum() - Method in class checkers.model.CheckersGame
 
getSelectedIndex() - Method in class checkers.model.CheckersGame
 
getType() - Method in class checkers.model.Piece
Returns the type of the piece

A B C D E F G H I J K L M N O P R S T U V W