rotate method

void rotate()

Implementation

void rotate() {
  this.isRotated = !this.isRotated;
}