Umstellung auf Floatgenerell bei Speed
Umstellung auf Float bei Beschleunigung Entfernen von minspeed Entfernen nicht notwendiger Konstruktoren in Lokomotive
This commit is contained in:
@@ -8,9 +8,7 @@
|
||||
class Fahrt
|
||||
{
|
||||
public:
|
||||
Fahrt(Locomotive locomotive, MotorDirection Direction, Gleis gleis, Gleisabschnitt gleisabschnitt);
|
||||
Fahrt(Locomotive locomotive, byte speed, MotorDirection Direction, Gleis gleis, Gleisabschnitt gleisabschnitt);
|
||||
Fahrt(Locomotive locomotive, byte speed, MotorDirection Direction, Gleis gleis, Gleisabschnitt gleisabschnitt, float bremsweg);
|
||||
Fahrt(Locomotive locomotive, byte speed, MotorDirection Direction, Gleis gleis, float startbeschleunigung, Gleisabschnitt gleisabschnitt, float bremsweg);
|
||||
void Vorbereiten();
|
||||
void Start();
|
||||
void Loop();
|
||||
@@ -27,6 +25,7 @@ class Fahrt
|
||||
Gleisabschnitt _gleisabschnitt;
|
||||
bool _abschnittErkannt;
|
||||
byte _speed;
|
||||
float _startbeschleunigung;
|
||||
float _bremsweg;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user