m">gameBoard</dt><dd class="cmt"><p>the game board which has been played so far.</p></dd><dt class="param">modifiedPiece</dt><dd class="cmt"><p>the piece which will move.</p></dd><dt class="param">newX</dt><dd class="cmt"><p>the new x coordinate for the piece.</p></dd><dt class="param">newY</dt><dd class="cmt"><p>the new y coordinate for the piece.</p></dd><dt>returns</dt><dd class="cmt"><p>a piece object if a piece is removed, null otherwise.</p></dd></dl><dl class="attributes block"><dt>Definition Classes