public void Init() { species = Data.Species[0]; deadCohorts = new List<ICohort>(); bool[,] grid = new bool[,]{ {true} }; DataGrid<bool> dataGrid = new DataGrid<bool>(grid); ILandscape landscape = new Landscape.Landscape(dataGrid); activeSite = landscape[1,1]; originalSenescenceDeathMethod = Cohort.SenescenceDeath; Cohort.SenescenceDeath = MySenescenceDeathMethod; }
public void Init() { species = Data.Species[0]; deadCohorts = new List <ICohort>(); bool[,] grid = new bool[, ] { { true } }; DataGrid <bool> dataGrid = new DataGrid <bool>(grid); ILandscape landscape = new Landscape.Landscape(dataGrid); activeSite = landscape[1, 1]; originalSenescenceDeathMethod = Cohort.SenescenceDeath; Cohort.SenescenceDeath = MySenescenceDeathMethod; }