Class RectInputHandler

All Implemented Interfaces:
Lifecycle

public class RectInputHandler extends InputSystemBase
Handles clicks on canvas elements.
  • Constructor Details

    • RectInputHandler

      public RectInputHandler()
  • Method Details

    • input

      public void input(float deltaTime)
      Description copied from class: InputSystemBase
      Updates each entity's data based on input, each frame.
      Specified by:
      input in interface Lifecycle
      Specified by:
      input in class InputSystemBase
      Parameters:
      deltaTime - Delta time in seconds
    • sort

      public void sort()
      Description copied from class: InputSystemBase
      Sorts the entity chunks in this input system based on their depth index.
      Overrides:
      sort in class InputSystemBase