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