]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/trainrouter.h
Add a function to check if a track chain forms a loop
[r2c2.git] / source / libr2c2 / trainrouter.h
index c69d28c9389057c3ea37cb14fd5ed3ed5ad0a52a..c1b6977f3734d45b19f615146c899d0ef22dedc0 100644 (file)
@@ -58,6 +58,7 @@ public:
        int get_priority() const { return priority; }
 
        bool set_route(const Route *);
+       bool add_route(const Route &);
        void add_wait(Block &, Train *);
        const Route *get_route() const;