Microscopic Traffic Simulator
StartNode.cs
Go to the documentation of this file.
2 using System;
3 using System.Windows;
4 
5 namespace Microscopic_Traffic_Simulator___Model.GeometricObjects.Nodes
6 {
10  [Serializable]
11  public class StartNode : Node
12  {
16  public Generator Generator { get; set; }
17 
21  public bool ContainsGenerator { get { return Generator != null; } }
22 
27  public StartNode(Point location) : base(location) { }
28  }
29 }
StartNode(Point location)
Constructs node on the beginning of the lane.
Definition: StartNode.cs:27
Node on the beginning of the lane and can also contain generator.
Definition: StartNode.cs:11
Class representing an object in topology on lane.
Definition: Node.cs:10