DirectionType

The type that will determine how many directions the joystick will be able to return.

Entries

Link copied to clipboard

Determines that the joystick will be able to return all the entries of Direction enum.

Link copied to clipboard

Determines that the joystick will only be able to return 5 directions.

Types

Link copied to clipboard
public class Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
private final Integer id
Link copied to clipboard
private final String name
Link copied to clipboard
private final Integer ordinal

Functions

Link copied to clipboard

The type that will determine how many directions the joystick will be able to return.

Link copied to clipboard
public final Integer getId()
Link copied to clipboard
public final String getName()
Link copied to clipboard
public final Integer getOrdinal()
Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.