Vehicle::Vehicle(Layout &l, const VehicleType &t):
Object(l),
type(t),
+ train(0),
next(0),
prev(0),
front_sensor(0),
return veh;
}
+void Vehicle::set_train(Train *t)
+{
+ train = t;
+}
+
void Vehicle::attach_back(Vehicle &veh)
{
if(next || veh.prev)