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() |
java.lang.String |
toString() |
public int getX()
public int getY()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public HexLocation getNeighborLoc(EdgeDirection dir)