A B C D E F G H I M N O P R S T W

A

actionPerformed(ActionEvent) - Method in class Board
This method overrides an interface method

B

Board - Class in <Unnamed>
This class creates a Frame by extending JPanel.
Board() - Constructor for class Board
This is the constructor.
Board.DemoAdapter - Class in <Unnamed>
This nested class is to allow the use of the MouseAdapter class Extends MouseAdapter public
Board.DemoAdapter() - Constructor for class Board.DemoAdapter
 
boardRef - Variable in class Board
 
btmplayer - Variable in class Board
 

C

ch - Variable in class Board
 
componentHidden(ComponentEvent) - Method in class Board
This method overrides an interface method
componentMoved(ComponentEvent) - Method in class Board
This method overrides an interface method
componentResized(ComponentEvent) - Method in class Board
This method is called in the event that the board is resized
componentShown(ComponentEvent) - Method in class Board
This method overrides an interface method
crownCheck(int, int) - Method in class Board
This method checks if a piece should be crowned.
crownedKing(int, int) - Method in class Board
This method creates a new king and crowns it.
currentPlayer - Variable in class Board
 

D

draggedPiece - Variable in class Board
 

E

endGame() - Method in class Board
This metond sets the gameOver public

F

frame - Variable in class Board
 

G

gameOver - Static variable in class Board
 

H

handleMove(int, int) - Method in class Board
This method is used to handle the move of a piece

I

image - Variable in class Board
 
initPlayer(String[]) - Method in class Board
This method initializes the players and netplayers in accordance with the command line argurments

M

main(String[]) - Static method in class Board
This method is the driver of the Board.
mouseDragged(MouseEvent) - Method in class Board.DemoAdapter
This method sets the draggedPiece to follow the mouse and calls repaint().
mouseMoved(MouseEvent) - Method in class Board.DemoAdapter
This method sets the draggedPiece to follow the mouse and calls repaint() only if the player is forced to multi-jump.
mousePressed(MouseEvent) - Method in class Board.DemoAdapter
This method is used to identify the location of the mouse click in relation to the board in general if there is a Piece at this location it becomes the draggedPiece public
mouseReleased(MouseEvent) - Method in class Board.DemoAdapter
This method determines where the mouse is released.

N

notReady - Static variable in class Board
 

O

offscreen - Variable in class Board
 

P

paint(Graphics) - Method in class Board
This method overrides the JPanel paint method.
playerIsMidJump - Variable in class Board
 
players - Variable in class Board
 

R

resetPiece() - Method in class Board
This method returns the piece back to its original postion

S

setLabel() - Method in class Board
This method sets the label for the status bar.
setUpBoard(String[]) - Method in class Board
This method sets up the board (8 X 8) with all the squares.
setupLabel(JFrame) - Method in class Board
Creates a JLabel to display information about Player and turns.
setupMenu(JFrame) - Method in class Board
This method sets us the menu bar with File and Option File allows for exiting of the game.
sq - Variable in class Board
 
status1 - Variable in class Board
 
status2 - Variable in class Board
 
status3 - Variable in class Board
 

T

thisPlayer - Variable in class Board
 
topplayer - Variable in class Board
 

W

width - Variable in class Board
Any constant values multiplied by width divided by 90 represents a proportionality constant.

A B C D E F G H I M N O P R S T W