Exemple #1
0
 public OverlayGraphChunk(OverlayGraph overlayGraph, IGrid grid, int chunkNumber)
 {
     this.overlayGraph = overlayGraph;
     this.grid         = grid;
     this.chunkNumber  = chunkNumber;
     this.sizeY        = grid.GetSize().y;
     this.chunkSizeY   = sizeY / overlayGraph.chunkSize;
 }
 public OverlayGraphPathfinder(OverlayGraph graph)
 {
     this.graph = graph;
 }