public class MapPoint
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MapPoint.BankPoint |
static class |
MapPoint.MiningCampPoint |
| Constructor and Description |
|---|
MapPoint(int x,
int y) |
| Modifier and Type | Method and Description |
|---|---|
static int |
distance(MapPoint a,
MapPoint b) |
boolean |
equals(java.lang.Object o) |
int |
getX() |
int |
getY() |
int |
hashCode() |
java.lang.String |
toString() |
public int getX()
public int getY()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object