Umstellung auf Floatgenerell bei Speed

Umstellung auf Float bei Beschleunigung
Entfernen von minspeed
Entfernen nicht notwendiger Konstruktoren in Lokomotive
This commit is contained in:
2023-05-19 16:41:59 +02:00
parent a5f5b18a27
commit fe94db4e88
5 changed files with 51 additions and 66 deletions

View File

@@ -25,14 +25,14 @@ Gleisabschnitt bahnhof2(10);
Locomotive locomotiveTaurus(5, 22, 116, 180, regler1);
Locomotive locomotive2043(6, 25, 129, 160, regler1);
*/
Locomotive locomotiveTaurus(5, 22, 58, 120, regler1);
Locomotive locomotive2043(6, 25, 70, 160, regler1);
Locomotive locomotiveTaurus(2.2, 22, 53, 43, regler1);
Locomotive locomotive2043(2.2, 25, 75, 63, regler1);
Fahrt fahrt[] = {
Fahrt(locomotiveTaurus, 135, motorForward, gleis1, bahnhof2, 6.7),
Fahrt(locomotiveTaurus, 125, motorBackward, gleis1, bahnhof1, 5.6) ,
Fahrt(locomotive2043, 145, motorForward, gleis2, bahnhof2, 5.7),
Fahrt(locomotive2043, 148, motorBackward, gleis2, bahnhof1, 5.3)
Fahrt(locomotiveTaurus, 135, motorForward, gleis1, 1.9, bahnhof2, 9.0),
Fahrt(locomotiveTaurus, 125, motorBackward, gleis1, 1.8, bahnhof1, 8.2) ,
Fahrt(locomotive2043, 150, motorForward, gleis2, 2.2, bahnhof2, 9.0),
Fahrt(locomotive2043, 165, motorBackward, gleis2, 2.0, bahnhof1, 8.6)
};
int _currentFahrt;