Package playn.core

Class Pointer.Event

All Implemented Interfaces:
XY
Enclosing class:
Pointer

public static class Pointer.Event extends Event.XY
Contains information on a pointer event.
  • Field Details

    • kind

      public final Pointer.Event.Kind kind
      Whether this event represents a start, move, etc.
    • isTouch

      public boolean isTouch
      Whether this event originated from a touch event.
  • Constructor Details

    • Event

      public Event(int flags, double time, float x, float y, Pointer.Event.Kind kind, boolean isTouch)