| private Dictionary<double, List<Groyne>> groynes; | private Dictionary<double, List<Groyne>> groynes; | ||||
| public Dictionary<double, List<Groyne>> Groynes => this.groynes; | public Dictionary<double, List<Groyne>> Groynes => this.groynes; | ||||
| // if there is a number of Groynes which is not "4", the program should also be able to work | |||||
| // maybe we edit this as dynamic and add a new level like "groynes.Add(x+70, levelY.ToList())" till x = highestNumberOfTestData | |||||
| public Field( Groyne[] level0, Groyne[] level1, Groyne[] level2, Groyne[] level3 ) | public Field( Groyne[] level0, Groyne[] level1, Groyne[] level2, Groyne[] level3 ) | ||||
| { | { | ||||
| groynes = new Dictionary<double, List<Groyne>>(); | groynes = new Dictionary<double, List<Groyne>>(); |