Пример #1
0
 public HexEdgeType GetEdgeType(HexCell otherCell)
 {
     return(HexMetrics.GetEdgeType(elevation, otherCell.elevation));
 }
Пример #2
0
 public void SetNeighbor(HexDirection direction, HexCell cell)
 {
     neighbors[(int)direction] = cell;
     cell.neighbors[(int)direction.Opposite()] = this;
 }