public static Hex GetOppositeHex(Position position) { Hex vector = neighborDirections[(int)position]; return(new Hex(-vector.x, -vector.y, -vector.z)); }
public static Hex CounterClockwiseDelta(Position position) { Hex vector = neighborDirections[(int)position]; return(new Hex(-vector.y, -vector.z, -vector.x)); }
public static Hex GetNeighborHex(Hex hex, Position position) { Hex dir = GetDirectionHex(position); return(new Hex(hex.column + dir.column, hex.row + dir.row)); }