mury = [ {"szerokosc": 44, "wysokosc": 6, "start": (0,-60,0), "material": BEDROCK}, {"szerokosc": 36, "wysokosc": 6, "start": (4,-60,4), "material": PURPLE_TERRACOTTA}, {"szerokosc": 28, "wysokosc": 6, "start": (8,-60,8), "material": GREEN_TERRACOTTA}, {"szerokosc": 20, "wysokosc": 6, "start": (12,-60,12), "material": BLUE_TERRACOTTA}, {"szerokosc": 12, "wysokosc": 6, "start": (16,-60,16), "material": RED_TERRACOTTA}, {"szerokosc": 4, "wysokosc": 6, "start": (20,-60,20), "material": BLACK_TERRACOTTA}, ] def labirynt(): for mur in mury: startX, startY, startZ = mur["start"] endX = startX + mur["szerokosc"] endY = startY + mur["wysokosc"] endZ = startZ + mur["szerokosc"]