public RoadStrip(RoadStateManager roadStateManager, double x) { this._roadStateManager = roadStateManager; this.Z = _roadStateManager.RoadLength; this.X = x; CalculatePositions(); }
public StopSign(RoadStateManager roadStateManager, double x) { this._roadStateManager = roadStateManager; this.Z = _roadStateManager.RoadLength; this.X = x; this.PolygonRepresentation = new StopSignPolygon(StopSignPolygon.StopSign.Points); CalculatePositions(); }