//Rotates the piece along the X Axis void rotateXAxis(int direction) { removeBlockPositions(currentPiece); currentPiece.rotateXAxis(direction); addBlockPositions(currentPiece); }