Class OnKeyStartPressedEvent

java.lang.Object
com.avrix.events.Event
com.avrix.events.OnKeyStartPressedEvent

public abstract class OnKeyStartPressedEvent extends Event
Triggered when a keyboard key is initially being pressed.
  • Constructor Details

    • OnKeyStartPressedEvent

      public OnKeyStartPressedEvent()
  • Method Details

    • getEventName

      public String getEventName()
      Getting the event name
      Specified by:
      getEventName in class Event
      Returns:
      name of the event being implemented
    • handleEvent

      public abstract void handleEvent(Integer key)
      Called Event Handling Method
      Parameters:
      key - The Keyboard key that has been pressed.