Package playn.core

Class Event.XY

All Implemented Interfaces:
XY
Direct Known Subclasses:
Mouse.Event, Pointer.Event, Touch.Event
Enclosing class:
Event

public static class Event.XY extends Event.Input implements XY
The base for all input events with a screen position.
  • Field Details

    • x

      public final float x
      The screen x-coordinate associated with this event.
    • y

      public final float y
      The screen y-coordinate associated with this event.
  • Method Details

    • x

      public float x()
      Specified by:
      x in interface XY
    • y

      public float y()
      Specified by:
      y in interface XY