Ejemplo n.º 1
0
 @Override
 public boolean rotatePart(EnumFacing axis) {
   if (axis.getAxis() == side.getAxis()) {
     if (axis.getAxisDirection() == EnumFacing.AxisDirection.POSITIVE) {
       top = top.rotateY();
     } else {
       top = top.rotateYCCW();
     }
     return true;
   }
   return false;
 }