1 using TrainManager.Car;
2 using TrainManager.SafetySystems;
3 
4 namespace TrainManager.Trains
5 {
6 	/// <summary>Holds information about the train</summary>
7 	public struct TrainSpecs
8 	{
9 		/// <summary>The current average acceleration across all cars</summary>
10 		public double CurrentAverageAcceleration;
11 		/// <summary>The default safety systems installed</summary>
12 		public DefaultSafetySystems DefaultSafetySystems;
13 		/// <summary>Whether the train has a constant speed device</summary>
14 		public bool HasConstSpeed;
15 		/// <summary>Whether the constant speed device is enabled</summary>
16 		public bool CurrentConstSpeed;
17 		/// <summary>The door open mode</summary>
18 		public DoorMode DoorOpenMode;
19 		/// <summary>The door close mode</summary>
20 		public DoorMode DoorCloseMode;
21 		/// <summary>Whether door closure has been attempted</summary>
22 		public bool DoorClosureAttempted;
23 	}
24 }
25