This commit is contained in:
Lyzzy 2024-03-07 16:44:38 +01:00
parent 956c25769c
commit 4d228bf6e0

View file

@ -37,6 +37,7 @@ def genRooms(WIDTH, HEIGHT, type:str, objects:list):
for j in range(random.randint(5, 10))
]
#rooms =Room(type, 'normal', room_backgrounds[random.randint(0, 4)], [objects[0], objects[1], objects[2], [room_objects[random.randint(0, len(room_objects) - 1)] for i in range(0, random.randint(0, 1))]], WIDTH - 64, HEIGHT - 64, [True, True, True, True], j)
return rooms
def play(screen, clock, running, background, isblack, WIDTH, HEIGHT):