Advertisement
umar_ahmad

bishop.java

Feb 28th, 2020
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. package chess;
  2.  
  3. public class Bishop extends Piece{
  4. public Bishop(PieceColour colour){
  5. this.colour = colour;
  6. if (colour == PieceColour.WHITE){
  7. setSymbol("wb");
  8. }
  9. else {
  10. setSymbol("bb");
  11. }
  12. }
  13.  
  14. public boolean isLegitMove(int iIn, int jIn, int iOut, int jOut){
  15.  
  16. return false;
  17. }
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement