from Objects.World import World class WorldProvider: def __init__(self, programs, world_class=World): self.world: World = world_class(10, 10, 10, 10, 10, 10, programs) self.world.generate() def update(self): pass