|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectknockabout.gamemodel.Translation
A translation of a dice
Constructor Summary | |
Translation()
|
Method Summary | |
int |
getX0()
|
int |
getX1()
|
int |
getY0()
|
int |
getY1()
|
Translation |
inverse()
Returns a new (fresh) translation with the final and initial coord switched |
void |
setX0(int i)
|
void |
setX1(int i)
|
void |
setY0(int i)
|
void |
setY1(int i)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Translation()
Method Detail |
public int getX0()
public int getX1()
public int getY0()
public int getY1()
public void setX0(int i)
i
- public void setX1(int i)
i
- public void setY0(int i)
i
- public void setY1(int i)
i
- public Translation inverse()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |