]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIThermal.hxx
Make the scenerio's work again (now for real) and a small number of updates.
[flightgear.git] / src / AIModel / AIThermal.hxx
index c4eb171d12c1c2fcfa8583ca91279e572faa615e..be772c733ced52a831bbd19ed66ce88e6d1fd984 100644 (file)
@@ -40,20 +40,19 @@ public:
         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 double getStrength() const { return strength; };
+        inline double getDiameter() const { return diameter; };
 
-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 factor;
 };