public class HexLocation
extends java.lang.Object
| Constructor and Description |
|---|
HexLocation(int x,
int y) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
HexLocation |
getNeighborLoc(EdgeDirection dir) |
int |
getX() |
int |
getY() |
int |
hashCode() |
private void |
setX(int x) |
private void |
setY(int y) |
java.lang.String |
toString() |
public int getX()
private void setX(int x)
public int getY()
private void setY(int y)
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic HexLocation getNeighborLoc(EdgeDirection dir)