public final class QuantizedMeshTileRange extends Object
Constructor and Description |
---|
QuantizedMeshTileRange(int startX,
int startY,
int endX,
int endY)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(int x,
int y)
Determines if this tile range contains the given X and Y coordinate values.
|
int |
getEndX()
Gets the end X coordinate value.
|
int |
getEndY()
Gets the end Y coordinate value.
|
int |
getStartX()
Gets the start X coordinate value.
|
int |
getStartY()
Gets the start Y coordinate value.
|
public QuantizedMeshTileRange(int startX, int startY, int endX, int endY)
startX
- The start X coordinate value.startY
- The start Y coordinate value.endX
- The end X coordinate value.endY
- The end Y coordinate value.public final int getStartX()
public final int getStartY()
public final int getEndX()
public final int getEndY()
public final boolean contains(int x, int y)
x
- The X coordinate value.y
- The Y coordinate value.true
if the given X and Y coordinate values are contained by this range; otherwise false
.