|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Position | |
---|---|
com.webstersmalley.chessweb.model |
Uses of Position in com.webstersmalley.chessweb.model |
---|
Methods in com.webstersmalley.chessweb.model that return Position | |
---|---|
Position |
Move.getDestination()
|
Position |
Square.getPosition()
|
Position |
Move.getSource()
|
Methods in com.webstersmalley.chessweb.model with parameters of type Position | |
---|---|
Piece |
Board.getAt(Position pos)
Return the piece at a given position. |
boolean |
Board.isOnBoard(Position position)
Checks whether a given position is on the board. |
boolean |
Piece.moveIsATake(Position destination,
Board board)
Whether the proposed move is a take. |
void |
Board.place(Position pos,
Piece piece)
Place a piece at a position. |
void |
Move.setDestination(Position destination)
|
void |
Square.setPosition(Position position)
|
void |
Move.setSource(Position source)
|
Constructors in com.webstersmalley.chessweb.model with parameters of type Position | |
---|---|
Move(Position source,
Position destination)
Constructor. |
|
Square(Position position)
Construct a new cell. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |