Better json structure

This commit is contained in:
2024-05-26 19:44:21 +02:00
parent 1543530488
commit 198c18173a
5 changed files with 29 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
class Road:
def __init__(self, coordinates):
def __init__(self, coordinates, road_configuration):
self.coordinates = coordinates # List of tuples (x1, y1, z1) in order
self.road_type = road_type # 'road', 'highway'
self.road_configuration = road_configuration # 'road', 'highway'
def place_roads(self):
pass