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