Procházet zdrojové kódy

Edited a Comment which suggest to create the levels dynamic

master
Moritz Winter před 5 roky
rodič
revize
fe854e7d57
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2
    0
      Buhnenrennen/Field.cs

+ 2
- 0
Buhnenrennen/Field.cs Zobrazit soubor

@@ -11,6 +11,8 @@ namespace Buhnenrennen
private Dictionary<double, List<Groyne>> 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 )
{
groynes = new Dictionary<double, List<Groyne>>();

Načítá se…
Zrušit
Uložit