Package mindustry.input
Enum Class Binding
- All Implemented Interfaces:
KeyBinds.KeyBind
,Serializable
,Comparable<Binding>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptioncategory()
The 'new' category under which this keybind will be displayed in a keybind dialog.The default implementation returns can return the same default value for each device type.static Binding
Returns the enum constant of this class with the specified name.static Binding[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface arc.KeyBinds.KeyBind
name
-
Enum Constant Details
-
move_x
-
move_y
-
mouse_move
-
pan
-
boost
-
command_mode
-
control
-
respawn
-
select
-
deselect
-
break_block
-
select_all_units
-
select_all_unit_factories
-
pickupCargo
-
dropCargo
-
clear_building
-
pause_building
-
rotate
-
rotateplaced
-
diagonal_placement
-
pick
-
rebuild_select
-
schematic_select
-
schematic_flip_x
-
schematic_flip_y
-
category_prev
-
category_next
-
block_select_left
-
block_select_right
-
block_select_up
-
block_select_down
-
block_select_01
-
block_select_02
-
block_select_03
-
block_select_04
-
block_select_05
-
block_select_06
-
block_select_07
-
block_select_08
-
block_select_09
-
block_select_10
-
zoom
-
fullscreen
-
pause
-
minimap
-
research
-
planet_map
-
block_info
-
screenshot
-
toggle_power_lines
-
toggle_block_status
-
player_list
-
chat
-
chat_history_prev
-
chat_history_next
-
chat_scroll
-
chat_mode
-
console
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
defaultValue
Description copied from interface:KeyBinds.KeyBind
The default implementation returns can return the same default value for each device type.- Specified by:
defaultValue
in interfaceKeyBinds.KeyBind
-
category
Description copied from interface:KeyBinds.KeyBind
The 'new' category under which this keybind will be displayed in a keybind dialog. Implementation of this method is optional.- Specified by:
category
in interfaceKeyBinds.KeyBind
-