Class Touch


  • public final class Touch
    extends java.lang.Object
    User touch object. Coordinate system is normalized to (-1, 1) with center in (0, 0).
    • Constructor Summary

      Constructors 
      Constructor Description
      Touch​(float x, float y, long id)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getId()  
      float getX()  
      float getY()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Touch

        public Touch​(float x,
                     float y,
                     long id)
    • Method Detail

      • getX

        public float getX()
      • getY

        public float getY()
      • getId

        public long getId()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object