|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Mirrorable
Purview representing an object with the abiliy of being mirrored. Mainly used with sprites (horizontal axis).
Method Summary | |
---|---|
void |
cancelMirror(boolean state)
Set cancel state for the mirror operation. |
boolean |
getCancelMirror()
Get mirror cancel state. |
boolean |
getMirror()
Get current mirror state. |
void |
mirror(boolean state)
Set the next mirror state and apply it on next turn. |
void |
updateMirror()
Update mirror and apply it if necessary. |
Method Detail |
---|
void mirror(boolean state)
state
- next mirror state.void updateMirror()
void cancelMirror(boolean state)
state
- state.boolean getCancelMirror()
boolean getMirror()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |