示例#1
0
 public void Triangulate(HexCell[] cells)
 {
     terrain.Clear();
     rivers.Clear();
     water.Clear();
     waterShore.Clear();
     features.Clear();
     creatures.Clear();
     for (int i = 0; i < cells.Length; i++)
     {
         Triangulate(cells[i]);
     }
     terrain.Apply();
     rivers.Apply();
     water.Apply();
     waterShore.Apply();
     features.Apply();
     creatures.Apply();
 }