public interface ILocation
Modifier and Type | Method and Description |
---|---|
double |
getDistance(ILocation other)
Caculate the distance to another location.
|
double |
getX()
Get the x of this Location.
|
double |
getY()
Get the y of this Location.
|
boolean |
isNear(ILocation other)
Check, if the other location is in range.
|
double getX()
double getY()
double getDistance(ILocation other)
boolean isNear(ILocation other)