Class Point

java.lang.Object
megamek.common.util.Point

public class Point extends Object
  • Field Details

    • x

      public int x
    • y

      public int y
  • Constructor Details

    • Point

      public Point(int x, int y)
    • Point

      public Point(Point other)
  • Method Details

    • setLocation

      public void setLocation(int x, int y)
      Set the location
      Parameters:
      x - x coordinate
      y - y coordinate