public class VertexLocation
extends java.lang.Object
Constructor and Description |
---|
VertexLocation(HexLocation hexLoc,
VertexDirection dir) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
VertexDirection |
getDir() |
HexLocation |
getHexLoc() |
VertexLocation |
getNormalizedLocation()
Returns a canonical (i.e., unique) value for this vertex location.
|
int |
hashCode() |
java.lang.String |
toString() |
public VertexLocation(HexLocation hexLoc, VertexDirection dir)
public HexLocation getHexLoc()
public VertexDirection getDir()
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 VertexLocation getNormalizedLocation()