]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIThermal.hxx
Durk Talsma:
[flightgear.git] / src / AIModel / AIThermal.hxx
index c4eb171d12c1c2fcfa8583ca91279e572faa615e..b3fee71bc293f0d71850f18781f9a0e253db4d8c 100644 (file)
@@ -40,20 +40,22 @@ 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 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;
 };