Package tools
Class Point
java.lang.Object
tools.Point
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
No getter needed. All attributes are public.
Point.x to get x
Point.y to get y
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConvert Point to Coordinate by parsing float to int
-
Field Details
-
x
public float x -
y
public float y
-
-
Constructor Details
-
Point
public Point(float x, float y) -
Point
Copies the point.
-
-
Method Details
-
toCoordinate
Convert Point to Coordinate by parsing float to int- Returns:
-