Package dev.kyzel.game
Class ControlHandler
java.lang.Object
dev.kyzel.game.ControlHandler
All possible inputs/keybindings for the game.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Control
Keybinding for the player to attack.static Control
Keybinding for moving the player down.static Control
Keybinding for moving the player left.static Control
Keybinding for pausing the game.static Control
Keybinding for moving the player right.static Control
Keybinding for showing player's stats.static Control
Keybinding for toggling fullscreen.static Control
Keybinding for toggling the HUD.static Control
Keybinding for toggling the minimap.static Control
Keybinding for moving the player up.static Control
Keybinding for zooming in the minimap.static Control
Keybinding for zooming out the minimap. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
UP
Keybinding for moving the player up. -
DOWN
Keybinding for moving the player down. -
RIGHT
Keybinding for moving the player right. -
LEFT
Keybinding for moving the player left. -
ATTACK
Keybinding for the player to attack. -
SHOW_STAT
Keybinding for showing player's stats. -
PAUSE
Keybinding for pausing the game. -
TOGGLE_FULLSCREEN
Keybinding for toggling fullscreen. -
TOGGLE_HUD
Keybinding for toggling the HUD. -
TOGGLE_MINIMAP
Keybinding for toggling the minimap. -
ZOOM_IN_MINIMAP
Keybinding for zooming in the minimap. -
ZOOM_OUT_MINIMAP
Keybinding for zooming out the minimap.
-
-
Constructor Details
-
ControlHandler
public ControlHandler()
-