Add line object
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
class Lane:
|
||||
def __init__(self, coordinates, lane_type):
|
||||
pass
|
||||
@@ -1,7 +1,7 @@
|
||||
class Road:
|
||||
def __init__(self, coordinates, road_type):
|
||||
self.coordinates = coordinates # List of tuples (x1, y1, z1) in order
|
||||
def __init__(self, coordinates):
|
||||
self.coordinates = coordinates # List of tuples (x1, y1, z1) in order
|
||||
self.road_type = road_type # 'road', 'highway'
|
||||
|
||||
def place_roads(self):
|
||||
pass
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user