virtual void unbind();
void update(double dt);
- inline void setStrength( double s ) { strength = s; };
+ inline void setMaxStrength( double s ) { max_strength = s; };
inline void setDiameter( double d ) { diameter = d; };
+ inline void setHeight( double h ) { height = h; };
+ inline double getStrength() const { return strength; };
+ inline double getDiameter() const { return diameter; };
+ inline double getHeight() const { return height; };
-protected:
- static FGAIThermal *_self;
-
private:
double dt;
void Run(double dt);
- SGPropertyNode* wind_from_down;
+ double max_strength;
double strength;
double diameter;
- double scaler;
+ double height;
+ double factor;
};