Package tools

Class Point

java.lang.Object
tools.Point

public class Point extends Object
For easy handling of positions in the dungeon.
No getter needed. All attributes are public.
Point.x to get x
Point.y to get y
  • Field Details

    • x

      public float x
    • y

      public float y
  • Constructor Details

    • Point

      public Point(float x, float y)
    • Point

      public Point(Point p)
      Copies the point.