Class Bishop 

java.lang.Object
   |
   +----Chesspiece
           |
           +----Bishop

public class Bishop 
extends Chesspiece 

Constructor Index 

o Bishop(Chessboard, boolean, int, int) 
Default constructor 

Method Index 

o ValidMove(int, int, boolean, Chesspiece[][]) 
Validates a given position 

Constructors 

o Bishop 
 public Bishop(Chessboard Board,
               boolean BeBlack,
               int Row,
               int Col)
Default constructor 

Methods 

o ValidMove 
 public boolean ValidMove(int X,
                          int Y,
                          boolean Taking,
                          Chesspiece Board[][])
Validates a given position 
Parameters: 
X - x-coordinate of move 
Y - y-coordinate of move 
Taking - true if we are capturing opponent's piece 
Board - the chessboard currently in play 
Returns: 
true if move is valid 
Overrides: 
ValidMove in class Chesspiece