Class storyLineInputComponent

java.lang.Object
com.deco2800.game.components.Component
com.deco2800.game.input.InputComponent
com.deco2800.game.components.storyline.storyLineInputComponent
All Implemented Interfaces:
com.badlogic.gdx.input.GestureDetector.GestureListener, com.badlogic.gdx.InputProcessor

public class storyLineInputComponent extends InputComponent
Input handler for the storyline UI for keyboard input. This input handler only uses keyboard input.
  • Constructor Details

    • storyLineInputComponent

      public storyLineInputComponent()
  • Method Details

    • keyUp

      public boolean keyUp(int key)
      Triggers storyline UI events on specific keycodes.
      Specified by:
      keyUp in interface com.badlogic.gdx.InputProcessor
      Overrides:
      keyUp in class InputComponent
      Returns:
      whether the input was processed
      See Also:
      • InputProcessor.keyUp(int)