float position;
float wheel_dia;
bool powered;
+
+ Axle();
};
struct Bogie
float position;
std::vector<Axle> axles;
+ std::string object;
+ bool rotate_object;
+
+ Bogie();
};
private:
float height;
std::vector<Axle> axles;
std::vector<Bogie> bogies;
+ std::string object;
public:
VehicleType(unsigned);
float get_height() const { return height; }
const std::vector<Axle> &get_axles() const { return axles; }
const std::vector<Bogie> &get_bogies() const { return bogies; }
+ const std::string &get_object() const { return object; }
};
} // namespace Marklin