|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.webstersmalley.chessweb.model.Piece
com.webstersmalley.chessweb.model.pieces.Queen
public class Queen
Queen class.
| Field Summary | |
|---|---|
static java.lang.String |
BLACK_STARTING_POSITIONS
Black starting positions. |
static java.lang.String |
WHITE_STARTING_POSITIONS
White starting positions. |
| Fields inherited from class com.webstersmalley.chessweb.model.Piece |
|---|
ALL_PIECES, BLACK_BISHOP, BLACK_KING, BLACK_KNIGHT, BLACK_PAWN, BLACK_QUEEN, BLACK_ROOK, WHITE_BISHOP, WHITE_KING, WHITE_KNIGHT, WHITE_PAWN, WHITE_QUEEN, WHITE_ROOK |
| Constructor Summary | |
|---|---|
Queen(Team team)
Constructs the Queen. |
|
| Method Summary | |
|---|---|
void |
validateDirection(Move move,
Board board)
Validates the direction. |
| Methods inherited from class com.webstersmalley.chessweb.model.Piece |
|---|
getIcon, getName, getStartingPositions, getTeam, isJumper, moveIsATake, setJumper, setStartingPositions, setTeam, validateMove, validateTake |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String WHITE_STARTING_POSITIONS
public static final java.lang.String BLACK_STARTING_POSITIONS
| Constructor Detail |
|---|
public Queen(Team team)
team - the team.| Method Detail |
|---|
public final void validateDirection(Move move,
Board board)
throws InvalidMoveException
validateDirection in class Piecemove - the moveboard - the board
InvalidMoveException - if the move is invalid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||