| 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 Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object