void position(float, float, float);
void rotation(float);
void sensor_id(unsigned);
+ void slope(float);
+ void tilt(float);
void turnout_id(unsigned);
};
Block &get_block() const;
virtual void set_position(const Vector &);
virtual void set_rotation(const Angle &);
- void set_slope(float);
+ virtual void set_tilt(const Angle &);
void set_flex(bool);
- float get_slope() const { return slope; }
bool get_flex() const { return flex; }
private:
+ void propagate_slope();
void check_slope();
public: