public static class LevelData.Point
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
double |
getDistance(LevelData.Point p)
get distance between this point and the input point
|
java.util.ArrayList<LevelData.Point> |
getSurroundingPoints()
get a list of all 4 neighbor points
|
public java.util.ArrayList<LevelData.Point> getSurroundingPoints()
public double getDistance(LevelData.Point p)
p
- an input point