public ModellerWindow() { InitializeComponent(); _currentMapElementType = CurrentMapElementType.None; _map = new Map(_workingFieldNofRows, _workingFieldNofColumns); _isTrafficFlowConfigure = false; _trafficFlowToRoadLineDictionary = new Dictionary <ITrafficFlow, RoadLine>(); _trafficManager = new TrafficManager(_map); }
private void _currentMapElementDownToLeftTurn_MouseClick(object sender, MouseEventArgs e) { _currentMapElementType = CurrentMapElementType.DownToLeftTurn; }
private void _currentMapElementRightToDownTurn_MouseClick(object sender, MouseEventArgs e) { _currentMapElementType = CurrentMapElementType.RightToDownTurn; }
private void _currentMapElementHorizontalRoad_MouseClick(object sender, MouseEventArgs e) { _currentMapElementType = CurrentMapElementType.HorizontalRoad; }
private void _currentMapElementVerticalRoad_MouseClick(object sender, MouseEventArgs e) { _currentMapElementType = CurrentMapElementType.VerticalRoad; }
private void _currentMapElementCrossroad_MouseClick(object sender, MouseEventArgs e) { _currentMapElementType = CurrentMapElementType.Crossroad; }