Better json structure
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user