Class InputSystem

All Implemented Interfaces:
Disposable, KryoSerializable

public final class InputSystem extends GameSystem
  • Field Details

  • Constructor Details

    • InputSystem

      public InputSystem()
  • Method Details

    • affectsGameState

      public boolean affectsGameState()
      Specified by:
      affectsGameState in class GameSystem
    • profileUpdate

      public boolean profileUpdate()
      Description copied from class: GameSystem
      Нужно ли учитывать время выполнения update() в Debug
      Overrides:
      profileUpdate in class GameSystem
    • getSystemName

      public String getSystemName()
      Specified by:
      getSystemName in class GameSystem
    • setup

      public void setup()
      Description copied from class: GameSystem
      Произвести начальную настройку системы. На момент вызова этого метода, systemProvider содержит объекты всех систем.
      Overrides:
      setup in class GameSystem
    • postSetup

      public void postSetup()
      Description copied from class: GameSystem
      Произвести окончательную настройку системы. Во время вызова, все системы загружены и установлены (setup()), все слушатели добавлены
      Overrides:
      postSetup in class GameSystem
    • disableInput

      public void disableInput()
    • enableOnlyStage

      public void enableOnlyStage()
    • enableAllInput

      public void enableAllInput()
    • setupInputMultiplexer

      public InputMultiplexerExtended setupInputMultiplexer(boolean stage, boolean camera, boolean mouseEvents)
      Prepare and enable default input multiplexer with ability to disable particular processors
    • getInputProcessor

      public InputProcessor getInputProcessor()
    • getCameraController

      public CameraController getCameraController()
    • dispose

      public void dispose()
      Description copied from interface: com.badlogic.gdx.utils.Disposable
      Releases all resources of this object.
      Specified by:
      dispose in interface Disposable
      Overrides:
      dispose in class GameSystem
    • draw

      public void draw(Batch batch, float deltaTime, float realDeltaTime)