Changed the LevelGeneration class.