Modifier and Type | Method and Description |
---|---|
int |
compareTo(Point point) |
boolean |
equals(Object obj) |
int |
getManhattanDistance(Point p) |
int |
hashCode() |
String |
toString() |
public Point(int x, int y)
public Point(Tile tile)
public int getManhattanDistance(Point p)
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object