public class TilePosition extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
x |
private int |
y |
private int |
zoom |
| Constructor and Description |
|---|
TilePosition(int x,
int y,
int zoom)
Constructs a new
TilePosition. |
TilePosition(Tile tile)
Constructs a new
TilePosition. |
| Modifier and Type | Method and Description |
|---|---|
int |
getX() |
int |
getY() |
int |
getZoom() |
java.lang.String |
toString() |
public TilePosition(int x, int y, int zoom)
TilePosition.x - X coordinatey - Y coordinatezoom - zoom levelpublic TilePosition(Tile tile)
TilePosition.tile - tile