]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/tracktype.h
Move path coercion to TrackType
[r2c2.git] / source / libr2c2 / tracktype.h
index 64efe8c1907f27541d08af89a2898aa4c02040ac..56d164f1b652a308a58a7ec1b0cf7505d6491631 100644 (file)
@@ -56,6 +56,7 @@ public:
        float get_path_length(int) const;
        unsigned get_paths() const;
        unsigned get_n_paths() const;
+       unsigned coerce_path(unsigned, unsigned) const;
        unsigned get_state_bits() const { return state_bits; }
        bool is_turnout() const;
        bool is_dead_end() const;