public class RoverPoint extends RoverGraphic
| Modifier and Type | Field and Description |
|---|---|
int |
offsetX |
int |
offsetY |
float |
rotation |
graphicType, ID, x, yALIGN_BOTTOM_CENTER, ALIGN_BOTTOM_FIT, ALIGN_BOTTOM_LEFT, ALIGN_BOTTOM_RIGHT, ALIGN_CENTER, ALIGN_CENTER_LEFT, ALIGN_CENTER_RIGHT, ALIGN_CODE_CENTER, ALIGN_CODE_FIT, ALIGN_CODE_HIGH, ALIGN_CODE_LOW, ALIGN_FIT, ALIGN_FIT_LEFT, ALIGN_FIT_RIGHT, ALIGN_TOP_CENTER, ALIGN_TOP_FIT, ALIGN_TOP_LEFT, ALIGN_TOP_RIGHT, COMMENT, DATA_FIELDS_MAX, EOF, FLOAT_COORDS, GEOMETRY_TYPE_NAMES, HAS_DATA, HAS_OFFSET, HAS_ROTATION, IMAGE, LIST, LUMP_CODE_TYPE_AREA, LUMP_CODE_TYPE_IMAGE, LUMP_CODE_TYPE_LINE, LUMP_CODE_TYPE_POINT, LUMP_CODE_TYPE_TEXT, MASK_TYPECODE, NAMING, POINT, POINT_COLOR, POLYGON, POLYLINE, POP, PUSH, ROTATION_MULT, TEXEL_COORD_MAX, TEXT, TEXT_LONG, TILE_COORD_MAX, TILE_SIZE_PIXELS, VALUE| Constructor and Description |
|---|
RoverPoint() |
RoverPoint(int graphicType,
long ID,
int offsetX,
int offsetY,
float rotation,
double x,
double y) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasOffset() |
boolean |
hasRotation() |
boolean |
isChaff()
If true then this graphic can be chucked - it is invalid or trivial for
some reason.
|
int |
lumpCode()
This is an integer hash code that indicates both lumpability and sort
order.
|
calculateLumpCode, compareTo, hasData, intersectspublic RoverPoint()
public RoverPoint(int graphicType,
long ID,
int offsetX,
int offsetY,
float rotation,
double x,
double y)
public boolean isChaff()
RoverGraphicisChaff in class RoverGraphicpublic int lumpCode()
RoverGraphiclumpCode in class RoverGraphicpublic boolean hasOffset()
hasOffset in class RoverGraphicpublic boolean hasRotation()
hasRotation in class RoverGraphic