constructor for BackgroundGenerator and defined LevelType