/// <summary>Creates a new axle</summary> public Axle(Hosts.HostInterface currentHost, AbstractTrain Train, AbstractCar Car, double CoefficientOfFriction = 0.35, double CoefficentOfRollingResistance = 0.0025, double AerodynamicDragCoefficient = 1.1) { Follower = new TrackFollower(currentHost, Train, Car); baseCar = Car; coefficientOfFriction = CoefficientOfFriction; coefficientOfRollingResistance = CoefficentOfRollingResistance; aerodynamicDragCoefficient = AerodynamicDragCoefficient; }
/// <summary>Derails a car within the train</summary> /// <param name="Car">The car to derail</param> /// <param name="ElapsedTime">The frame time elapsed</param> public virtual void Derail(AbstractCar Car, double ElapsedTime) { }