aboutsummaryrefslogtreecommitdiffstats
path: root/Scripts/Road.gd
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/Road.gd')
-rw-r--r--Scripts/Road.gd4
1 files changed, 4 insertions, 0 deletions
diff --git a/Scripts/Road.gd b/Scripts/Road.gd
index 4b19c70..db60c7d 100644
--- a/Scripts/Road.gd
+++ b/Scripts/Road.gd
@@ -80,3 +80,7 @@ func draw_borders():
leftBorder.add_point(point)
point = points[pointIndex] - (normal*50)
rightBorder.add_point(point)
+
+func clear_borders():
+ leftBorder.clear_points()
+ rightBorder.clear_points()