|
||||||||||
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 | |
---|---|
Integer |
getRotation()
Gets the current rotation of this Object in degrees. |
void |
rotate(Integer degreesToRotate)
Rotates clockwise the Object by the specified number of degrees |
void |
setRotation(Integer degree)
Sets the Rotation of the Object to be a certain degree. |
Method Detail |
---|
void rotate(Integer degreesToRotate)
degreesToRotate
- rotates the Object by this many degreesvoid setRotation(Integer degree)
degree
- the number of degrees at which to have the Object rotatedInteger getRotation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |