-/* $Id$
-
-This file is part of R²C²
-Copyright © 2010 Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
#ifndef LIBR2C23D_VEHICLETYPE_H_
#define LIBR2C23D_VEHICLETYPE_H_
class VehicleType3D
{
private:
- const Catalogue3D &catalogue;
+ Catalogue3D &catalogue;
const VehicleType &type;
std::map<std::string, Msp::GL::Object *> objects;
Msp::GL::Object *body_object;
std::vector<Msp::GL::Object *> rod_objects;
public:
- VehicleType3D(const Catalogue3D &, const VehicleType &);
+ VehicleType3D(Catalogue3D &, const VehicleType &);
~VehicleType3D();
const Msp::GL::Object *get_body_object() const { return body_object; }
- const Msp::GL::Object *get_axle_object(unsigned) const;
+ const Msp::GL::Object *get_fixed_axle_object(unsigned) const;
const Msp::GL::Object *get_bogie_object(unsigned) const;
const Msp::GL::Object *get_bogie_axle_object(unsigned, unsigned) const;
const Msp::GL::Object *get_rod_object(unsigned) const;