Package com.treasure.hunt.strategy.geom
Enum GeometryType
- java.lang.Object
-
- java.lang.Enum<GeometryType>
-
- com.treasure.hunt.strategy.geom.GeometryType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GeometryType>
public enum GeometryType extends java.lang.Enum<GeometryType>
This is conventions for GeometryItems, how to display them.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOUNDING_CIRCE
CENTROID
CURRENT_PHASE
StrategyFromPaper relevantCURRENT_POLYGON
CURRENT_RECTANGLE
CURRENT_WAY_POINT
GRID
HALF_PLANE
HalfPlaneHint relevantHALF_PLANE_BEFORE_PREVIOUS_LIGHT_BROWN
HALF_PLANE_CURRENT_RED
HALF_PLANE_PREVIOUS_BROWN
HELPER_LINE
HIGHLIGHTER
HINT_ANGLE
HINT_CENTER
Hint relevantHINT_CIRCLE
INNER_BUFFER
L1_DOUBLE_APOS
MAX_X
MAX_Y
MIN_X
MIN_Y
NO_TREASURE
OUTER_CIRCLE
POLYHEDRON
POSSIBLE_TREASURE
PREVIOUS_RECTANGLE
STANDARD
TREASURE
treasure/no-treasure (areas) relevantTREASURE_FLAG
WAY_POINT
searcher movements relevantWAY_POINT_LINE
WORST_CONSTANT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDisplayName()
boolean
isEnabled()
boolean
isMultiStyle()
boolean
isOverride()
If aGeometryItem
has override set, only the lastGeometryItem
of this GeometryType will be displayed and all previous ones will be invisible.boolean
isSelectable()
static GeometryType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GeometryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HINT_CENTER
public static final GeometryType HINT_CENTER
Hint relevant
-
HINT_CIRCLE
public static final GeometryType HINT_CIRCLE
-
HALF_PLANE
public static final GeometryType HALF_PLANE
HalfPlaneHint relevant
-
HALF_PLANE_CURRENT_RED
public static final GeometryType HALF_PLANE_CURRENT_RED
-
HALF_PLANE_PREVIOUS_BROWN
public static final GeometryType HALF_PLANE_PREVIOUS_BROWN
-
HALF_PLANE_BEFORE_PREVIOUS_LIGHT_BROWN
public static final GeometryType HALF_PLANE_BEFORE_PREVIOUS_LIGHT_BROWN
-
TREASURE
public static final GeometryType TREASURE
treasure/no-treasure (areas) relevant
-
TREASURE_FLAG
public static final GeometryType TREASURE_FLAG
-
NO_TREASURE
public static final GeometryType NO_TREASURE
-
POSSIBLE_TREASURE
public static final GeometryType POSSIBLE_TREASURE
-
HINT_ANGLE
public static final GeometryType HINT_ANGLE
-
WAY_POINT
public static final GeometryType WAY_POINT
searcher movements relevant
-
WAY_POINT_LINE
public static final GeometryType WAY_POINT_LINE
-
CURRENT_WAY_POINT
public static final GeometryType CURRENT_WAY_POINT
-
HELPER_LINE
public static final GeometryType HELPER_LINE
-
BOUNDING_CIRCE
public static final GeometryType BOUNDING_CIRCE
-
OUTER_CIRCLE
public static final GeometryType OUTER_CIRCLE
-
WORST_CONSTANT
public static final GeometryType WORST_CONSTANT
-
INNER_BUFFER
public static final GeometryType INNER_BUFFER
-
CENTROID
public static final GeometryType CENTROID
-
CURRENT_PHASE
public static final GeometryType CURRENT_PHASE
StrategyFromPaper relevant
-
CURRENT_RECTANGLE
public static final GeometryType CURRENT_RECTANGLE
-
PREVIOUS_RECTANGLE
public static final GeometryType PREVIOUS_RECTANGLE
-
CURRENT_POLYGON
public static final GeometryType CURRENT_POLYGON
-
L1_DOUBLE_APOS
public static final GeometryType L1_DOUBLE_APOS
-
MAX_X
public static final GeometryType MAX_X
-
MAX_Y
public static final GeometryType MAX_Y
-
MIN_X
public static final GeometryType MIN_X
-
MIN_Y
public static final GeometryType MIN_Y
-
STANDARD
public static final GeometryType STANDARD
-
GRID
public static final GeometryType GRID
-
HIGHLIGHTER
public static final GeometryType HIGHLIGHTER
-
POLYHEDRON
public static final GeometryType POLYHEDRON
-
-
Method Detail
-
values
public static GeometryType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GeometryType c : GeometryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeometryType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getDisplayName
public java.lang.String getDisplayName()
-
isEnabled
public boolean isEnabled()
-
isOverride
public boolean isOverride()
If aGeometryItem
has override set, only the lastGeometryItem
of this GeometryType will be displayed and all previous ones will be invisible.
-
isMultiStyle
public boolean isMultiStyle()
-
isSelectable
public boolean isSelectable()
-
-