public void xRotationAction() { if (currentPiece.possibleRotateXAxis(1)) { rotateXAxis(1); reflectionUpdate(); playPieceSound(pieceRotateSound); } else { playPieceSound(rejectedSound); } }
public void xRotationAction() { if (currentPiece.possibleRotateXAxis(1)) { rotateXAxis(1); reflectionUpdate(); playPieceSound(pieceRotateSound); } else { playPieceSound(rejectedSound); } }