Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
E
F
G
H
I
M
P
R
S
T
U
P
PPS
- Static variable in class ui.
BoardBackground
PPS (pixels per square) is the dimension of each checkerboard square, in pixels.
Piece
- interface game.
Piece
.
Piece represents an immutable playing piece on a board.
PieceLocation
- class game.
PieceLocation
.
PieceLocation represents a Piece in a particular square on a particular board.
PieceLocation(Board, Piece, int, int)
- Constructor for class game.
PieceLocation
Make a PieceLocation.
PixelBoardView
- class ui.
PixelBoardView
.
StrokeBoardView is a component that displays a checkers game by drawing each checker as an image.
PixelBoardView(Board)
- Constructor for class ui.
PixelBoardView
Make a PixelBoardView.
paintComponent(Graphics)
- Method in class ui.
BoardBackground
Paint the checkerboard squares.
paintComponent(Graphics)
- Method in class ui.
PixelBoardView
Paint this component.
paintComponent(Graphics)
- Method in class ui.
StrokeBoardView
Paint this component.
pieceAdded(PieceLocation)
- Method in interface game.
BoardListener
Called after a new piece is added to the board.
pieceLocations()
- Method in class game.
Board
Get all pieces on this board, with their locations.
pieceMoved(PieceLocation, PieceLocation)
- Method in interface game.
BoardListener
Called after a piece already on the board moves to a new location.
pieceRemoved(PieceLocation)
- Method in interface game.
BoardListener
Called after a piece is removed from the board.
pieces()
- Method in class game.
Board
Get all pieces on this board.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
E
F
G
H
I
M
P
R
S
T
U