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 classConnectableMechanic.ConnectType.Companion
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisCornerprivate final BooleanisCornerRotatedprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<ConnectableMechanic.ConnectType>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULTSTRAIGHTLEFT_ENDRIGHT_ENDOUTER_CORNEROUTER_CORNER_ROTATEDINNER_CORNERINNER_CORNER_ROTATED
-
Method Summary
Modifier and Type Method Description final ConnectableMechanic.ConnectTypevalueOf(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 BooleanisCorner()final BooleanisCornerRotated()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()
-
-
-
-