]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/train.h
Add a maximum speed property for vehicle types
[r2c2.git] / source / libr2c2 / train.h
index 16e67a43986776890b17734b54c9c15f91461478..9603891e8f6e4d0672df77c21546c0b033e9bf90 100644 (file)
@@ -97,6 +97,7 @@ public:
        float get_speed() const;
        float get_quantized_speed() const;
        unsigned get_speed_step() const { return current_speed_step; }
+       float get_maximum_speed() const;
        bool get_function(unsigned) const;
        unsigned get_functions() const { return functions; }