|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Location on a darts board.
Locations are value objects.
Method Summary | |
double |
distanceTo(Location l)
Calculate the distance between this location and given location. |
double |
getX()
Return the x coordinate of this location. |
double |
getY()
Return the y coordinate of this location. |
Methods inherited from interface org.dartra.framework.Persistent |
getId, setId |
Method Detail |
public double getX()
Return the x coordinate of this location.
public double getY()
Return the y coordinate of this location.
public double distanceTo(Location l)
Calculate the distance between this location and given location.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |