Example #1
0
 public TileGraph(Tile[,] grid, IMovementCostComputer movementCostComputer)
 {
     this.grid = grid;
     this.movementCostComputer = movementCostComputer;
 }
Example #2
0
 public TileGraph(Tile[,] grid)
 {
     this.grid = grid;
     this.movementCostComputer = UnitarianMovementCost.Instance;
 }