@@ -11,6 +11,8 @@ export default class CurveRoad extends Road {
this.points = []; //中心线上一系列控制点。数组是从start到end。
this.leftEdgeId = null;
this.rightEdgeId = null;
+ this.leftLanes = []; //二维数组。第一维表示第几个车道,第二维是一组点
+ this.rightLanes = [];
this.width = Constant.defaultRoadWidth; //默认宽度
this.leftDrivewayCount = 2; //左边的车道个数