Exemplo 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);
 }
Exemplo n.º 2
0
 public DataGrid(NavdiGrid grid)
 {
     this.options = grid.options;
     InitializeCells();
 }