public final class TileRef
extends java.lang.Object
z
.
For caching the tiles support some equals and hashCode behavior that makes them suitable as key-objects in java-util collections.
Modifier and Type | Field and Description |
---|---|
int |
x
The x coordinate of this TileRef
|
int |
y
The y coordinate of this TileRef
|
int |
z
The z coordinate, i.e.
|
Constructor and Description |
---|
TileRef(int x,
int y,
int z)
Initializes this TileRef with x, y and z coordinates
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
public final int x
public final int y
public final int z