Enum ConnectableMechanic.ConnectType
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum ConnectableMechanic.ConnectType extends Enum<ConnectableMechanic.ConnectType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
ConnectableMechanic.ConnectType.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Boolean
isCorner
private final Boolean
isCornerRotated
private final String
name
private final Integer
ordinal
private final EnumEntries<ConnectableMechanic.ConnectType>
entries
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
STRAIGHT
LEFT_END
RIGHT_END
OUTER_CORNER
OUTER_CORNER_ROTATED
INNER_CORNER
INNER_CORNER_ROTATED
-
Method Summary
Modifier and Type Method Description final ConnectableMechanic.ConnectType
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<ConnectableMechanic.ConnectType>
values()
Returns an array containing the constants of this enum type, in the order they're declared. final Boolean
isCorner()
final Boolean
isCornerRotated()
final EnumEntries<ConnectableMechanic.ConnectType>
getEntries()
-
-
Method Detail
-
valueOf
final ConnectableMechanic.ConnectType valueOf(String value)
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.)
-
values
final Array<ConnectableMechanic.ConnectType> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
isCornerRotated
final Boolean isCornerRotated()
-
getEntries
final EnumEntries<ConnectableMechanic.ConnectType> getEntries()
-
-
-
-