|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Handicap | |
|---|---|
| net.japanesechess.record | |
| net.japanesechess.util | |
| net.japanesechess.view | |
| Uses of Handicap in net.japanesechess.record |
|---|
| Methods in net.japanesechess.record that return Handicap | |
|---|---|
static Handicap |
Handicap.parseString(java.lang.String handicap)
Used mostly for setting up boards for replay or viewing of the game. |
static Handicap |
Handicap.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Handicap[] |
Handicap.values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods in net.japanesechess.record with parameters of type Handicap | |
|---|---|
abstract boolean |
Tokens.isValidMove(byte[] board,
Handicap handicap,
boolean promoted,
boolean black,
int x1,
java.lang.String y1,
int x2,
java.lang.String y2)
Valid in the sense used here, does not mean any checks other than, if the board were blank, and this were the only piece on the board, could it move here? Sometimes there may be additional checks for blocking tokens of the same color. |
| Uses of Handicap in net.japanesechess.util |
|---|
| Fields in net.japanesechess.util declared as Handicap | |
|---|---|
private Handicap |
PlyBoardFactory.handicap
|
| Methods in net.japanesechess.util with parameters of type Handicap | |
|---|---|
void |
PlyBoardFactory.generateAndSetBoard(Handicap handicap,
byte[] previousBoard,
ShogiPly lastPly,
ShogiPly newPly,
boolean black)
Generates the board that this ply creates and passes to the ply for use in board displays. |
static boolean[][] |
BoardPackUtil.getBlackPositions(byte[] board,
Handicap handicap)
Returns values true in indices that contain black tokens. |
static boolean[][] |
BoardPackUtil.getTokenPositionsOnBoard(byte[] board,
Handicap handicap,
Tokens token,
boolean black)
Returns values true in indices that contain white tokens. |
static boolean[][] |
BoardPackUtil.getWhitePositions(byte[] board,
Handicap handicap)
Returns values true in indices that contain white tokens. |
| Uses of Handicap in net.japanesechess.view |
|---|
| Fields in net.japanesechess.view declared as Handicap | |
|---|---|
private static Handicap |
PsnPreviewPanel.handicap
|
| Methods in net.japanesechess.view with parameters of type Handicap | |
|---|---|
static void |
PsnPreviewPanel.setHandicap(Handicap handicap)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||