- LocoType &get_locomotive(unsigned) const;
- const std::map<unsigned, LocoType *> &get_locomotives() const { return locos; }
+
+ void add_vehicle(VehicleType &);
+ const VehicleType &get_vehicle(unsigned) const;
+ const LocoType &get_locomotive(unsigned) const;
+ const std::map<unsigned, VehicleType *> &get_vehicles() const { return vehicles; }
+
+ Layout &get_layout() { return layout; }