Esempio n. 1
0
        public ModellerWindow()
        {
            InitializeComponent();

            _currentMapElementType = CurrentMapElementType.None;
            _map = new Map(_workingFieldNofRows, _workingFieldNofColumns);
            _isTrafficFlowConfigure = false;

            _trafficFlowToRoadLineDictionary = new Dictionary <ITrafficFlow, RoadLine>();
            _trafficManager = new TrafficManager(_map);
        }
Esempio n. 2
0
 private void _currentMapElementDownToLeftTurn_MouseClick(object sender, MouseEventArgs e)
 {
     _currentMapElementType = CurrentMapElementType.DownToLeftTurn;
 }
Esempio n. 3
0
 private void _currentMapElementRightToDownTurn_MouseClick(object sender, MouseEventArgs e)
 {
     _currentMapElementType = CurrentMapElementType.RightToDownTurn;
 }
Esempio n. 4
0
 private void _currentMapElementHorizontalRoad_MouseClick(object sender, MouseEventArgs e)
 {
     _currentMapElementType = CurrentMapElementType.HorizontalRoad;
 }
Esempio n. 5
0
 private void _currentMapElementVerticalRoad_MouseClick(object sender, MouseEventArgs e)
 {
     _currentMapElementType = CurrentMapElementType.VerticalRoad;
 }
Esempio n. 6
0
 private void _currentMapElementCrossroad_MouseClick(object sender, MouseEventArgs e)
 {
     _currentMapElementType = CurrentMapElementType.Crossroad;
 }