public RepositoryLevel(int number, int startHeroX, int startHeroY, DirectionType startHeroDirection,
                        List <int> locationIds, Boiler boiler, Table table,
                        RepositoryMainLevelRecipe repositoryMainLevelRecipe, List <int> inventRecipeIds)
 {
     Id                        = number;
     StartHeroX                = startHeroX;
     StartHeroY                = startHeroY;
     StartHeroDirection        = startHeroDirection;
     LocationIds               = locationIds;
     Boiler                    = boiler;
     Table                     = table;
     RepositoryMainLevelRecipe = repositoryMainLevelRecipe;
     InventRecipeIds           = inventRecipeIds;
 }
Example #2
0
 public Level(int number, int startHeroX, int startHeroY, DirectionType startHeroDirection, List <Location> locations,
              Boiler boiler, Table table, MainLevelRecipe mainLevelRecipe, List <Recipe> inventRecipes, List <int> experienceLevels)
 {
     Number             = number;
     StartHeroX         = startHeroX;
     StartHeroY         = startHeroY;
     StartHeroDirection = startHeroDirection;
     Locations          = locations;
     Boiler             = boiler;
     Table              = table;
     MainLevelRecipe    = mainLevelRecipe;
     InventRecipes      = inventRecipes;
     ExperienceLevels   = experienceLevels;
     ThisLocationNumber = 0;
 }