Class GridCoordinates2D

    • Constructor Detail

      • GridCoordinates2D

        public GridCoordinates2D()
        Creates an initially empty grid coordinates.
      • GridCoordinates2D

        public GridCoordinates2D​(int x,
                                 int y)
        Creates a grid coordinates initialized to the specified values.
        Parameters:
        x - The x coordinate value.
        y - The y coordinate value.
      • GridCoordinates2D

        public GridCoordinates2D​(Point coordinates)
        Creates a grid coordinates initialized to the specified point.
        Parameters:
        coordinates - The coordinate values to copy.