public Game(int width, int height, bool config = false) { this.config = config; mapSizeGenerator = new MapSizeGenerator(height, width); var map = mapSizeGenerator.NextController(); Plot = new PlotController(); Level = new Level(map, Plot); Player = new Player(); StepType = Step.Maze; }
public void GetNextLevel() { if (config) { UpdateToConfig(logLevels.Dequeue()); } else { Plot.SetNextAct(); Level = new Level(mapSizeGenerator.NextController(), Plot); } }