|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRotatable
The interface that defines the capabilties for an object that can have its rotation accessed/mutated, Should start with rotation of 0 = normal.
Method Summary | |
---|---|
java.lang.Integer |
getRotation()
Gets the current rotation of this Object in degrees. |
void |
rotate(java.lang.Integer degreesToRotate)
Rotates clockwise the Object by the specified number of degrees |
void |
setRotation(java.lang.Integer degree)
Sets the Rotation of the Object to be a certain degree. |
Method Detail |
---|
void rotate(java.lang.Integer degreesToRotate)
degreesToRotate
- rotates the Object by this many degreesvoid setRotation(java.lang.Integer degree)
degree
- the number of degrees at which to have the Object rotatedjava.lang.Integer getRotation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |