public void rightwardButtonAction() { if (currentPiece.possibleRightwardMovement()) { movePieceRight(); reflectionUpdate(); playPieceSound(pieceMovementSound); } else { playPieceSound(rejectedSound); } }
public void rightwardButtonAction() { if (currentPiece.possibleRightwardMovement()) { movePieceRight(); reflectionUpdate(); playPieceSound(pieceMovementSound); } else { playPieceSound(rejectedSound); } }