void axle();
void bogie();
void function(unsigned, const std::string &);
+ void gauge(float);
void height(float);
void length(float);
void mirror_rods();
bool locomotive;
FunctionMap functions;
bool swap_direction;
+ float gauge;
float length;
float width;
float height;
RodArray rods;
std::string object;
bool rotate_object;
+ float max_speed;
public:
- VehicleType(const ArticleNumber &);
+ VehicleType();
bool is_locomotive() const { return locomotive; }
unsigned get_max_function() const;
const FunctionMap &get_functions() const { return functions; }
bool get_swap_direction() const { return swap_direction; }
+ float get_gauge() const { return gauge; }
float get_length() const { return length; }
float get_width() const { return width; }
float get_height() const { return height; }
float get_back_axle_offset() const;
const std::string &get_object() const { return object; }
bool get_rotate_object() const { return rotate_object; }
+ float get_maximum_speed() const { return max_speed; }
};
} // namespace R2C2