it" class="extype">Unit</span></span></span><p class="shortcomment cmt">Restores the board to its previous state.</p><div class="fullcomment"><div class="comment cmt"><p>Restores the board to its previous state.
</p></div><dl class="paramcmts block"><dt class="param">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 that will return to its previous state.</p></dd><dt class="param">removedPiece</dt><dd class=