X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Ftrain.h;h=330eadd32e93f6f504963b8429eea4c1d8803334;hb=7e27b311e33beda1746eb63e0945633f262427f6;hp=99575bf541912fe679bd2c0a6bd66265f5eb4f48;hpb=2abb7008a1e2b93b77742693becf6fe0b8567d6e;p=r2c2.git diff --git a/source/libr2c2/train.h b/source/libr2c2/train.h index 99575bf..330eadd 100644 --- a/source/libr2c2/train.h +++ b/source/libr2c2/train.h @@ -22,6 +22,7 @@ class Route; class Timetable; class Vehicle; class VehicleType; +class Zone; class Train: public sigc::trackable { @@ -140,6 +141,7 @@ public: bool set_route(const Route *); bool go_to(Track &); + bool go_to(const Zone &); bool divert(Track &); const Route *get_route() const; void place(Block &, unsigned);