Advertisement
umar_ahmad

queen1.java

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