adds labyrinth and subjects as well as performance increases

This commit is contained in:
zomseffen 2022-02-07 21:08:45 +01:00
parent 6c5cae958b
commit 0638d5e666
10 changed files with 1591 additions and 234 deletions
WorldProvider

View file

@ -2,8 +2,8 @@ from Objects.World import World
class WorldProvider:
def __init__(self, programs):
self.world: World = World(10, 10, 10, 10, 10, 10, programs)
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):