Esempio n. 1
0
 public DataGridFloodPath(
     NavdiGrid grid,
     System.Func <twin, bool> GetCanEnter,
     System.Func <twin, byte> GetCostToEnter,
     params twin[] targets) : base(grid)
 {
     this.GetCanEnter    = GetCanEnter;
     this.GetCostToEnter = GetCostToEnter;
     InitializeFloodPath(targets);
 }
Esempio n. 2
0
 public DataGrid(NavdiGrid grid)
 {
     this.options = grid.options;
     InitializeCells();
 }