public void apply(ChessBoardModel boardModel) {
   halfMoveClockBackup = boardModel.getHalfMoveClock();
   boardModel.setHalfMoveClock(0);
 }
 public void revert(ChessBoardModel boardModel) {
   boardModel.setHalfMoveClock(halfMoveClockBackup);
 }