@log_info
    def get_generator(self, level_type):
        partitioners = level_partitioners(self.config, level_type)
        rooms = room_generators(self.config, level_type)
        decos = decorators(self.config, level_type)
        item_adders = items(self.config, level_type)
        creature_adders = characters(self.config, level_type)

        factory = self.portal_adder_factory
        portal_adders = factory.create_portal_adders(level_type)

        #TODO: what about the None for model and level context?
        return new_level_generator(None,
                                   partitioners,
                                   rooms,
                                   decos,
                                   portal_adders,
                                   item_adders,
                                   creature_adders,
                                   self.trap_generator,
                                   self.rng,
                                   level_type,
                                   description(self.config, level_type))
Get LevelGenerator for given level
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/generators/level/generator.py/LevelGeneratorFactory.get_generator