Class QPoint<T>

java.lang.Object
VASSAL.tools.qtree.QPoint<T>
All Implemented Interfaces:
Comparable<QPoint<T>>

public class QPoint<T> extends Object implements Comparable<QPoint<T>>
  • Constructor Details

    • QPoint

      public QPoint(double x, double y, T opt_value)
      Creates a new point object.
  • Method Details

    • getX

      public double getX()
    • setX

      public void setX(double x)
    • getY

      public double getY()
    • setY

      public void setY(double y)
    • getValue

      public T getValue()
    • setValue

      public void setValue(T opt_value)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • compareTo

      public int compareTo(QPoint<T> point)
      Specified by:
      compareTo in interface Comparable<T>