Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package chess;
- public class Bishop extends Piece{
- public Bishop(PieceColour colour){
- this.colour = colour;
- if (colour == PieceColour.WHITE){
- setSymbol("wb");
- }
- else {
- setSymbol("bb");
- }
- }
- public boolean isLegitMove(int iIn, int jIn, int iOut, int jOut){
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement