Esempio n. 1
0
 //determines edge type between two cells for triangulating corners
 public HexEdgeType GetEdgeType(HexCell otherCell)
 {
     return(Hexmetrics.GetEdgeType(
                elevation, otherCell.elevation
                ));
 }
Esempio n. 2
0
 //gets cells edge type for cliffs in a certain direction
 public HexEdgeType GetEdgeType(HexDirection direction)
 {
     return(Hexmetrics.GetEdgeType(
                elevation, neighbors[(int)direction].elevation
                ));
 }