public interface ILocation
Modifier and Type | Method and Description |
---|---|
int |
getX()
Gets the x value.
|
int |
getY()
Gets the y value.
|
void |
setX(int x)
Sets the x coordinate of this location.
|
void |
setY(int y)
Sets the y coordinate of this location.
|
int getY()
void setY(int y)
y
- the new y coordinateint getX()
void setX(int x)
x
- the new x coordinate