/** Adds the specified rotation to the current rotation. */ public void rotateBy (float amountInDegrees) { if (amountInDegrees != 0) { rotation += amountInDegrees; rotationChanged(); } }
/** Adds the specified rotation to the current rotation. */ public void rotateBy (float amountInDegrees) { if (amountInDegrees != 0) { rotation += amountInDegrees; rotationChanged(); } }
public void setRotation (float degrees) { if (this.rotation != degrees) { this.rotation = degrees; rotationChanged(); } }
public void setRotation (float degrees) { if (this.rotation != degrees) { this.rotation = degrees; rotationChanged(); } }
/** Adds the specified rotation to the current rotation. */ public void rotateBy (float amountInDegrees) { if (amountInDegrees != 0) { rotation += amountInDegrees; rotationChanged(); } }
public void setRotation (float degrees) { if (this.rotation != degrees) { this.rotation = degrees; rotationChanged(); } }