]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIWingman.hxx
Replace the NOAA METAR URL with the new, updated one
[flightgear.git] / src / AIModel / AIWingman.hxx
index 42c51094c333303120aa0660931478cf0b4afa42..0b02b7491226b9de72c627845b3ff48be84de3e6 100644 (file)
@@ -26,7 +26,6 @@
 #include "AIBase.hxx"
 
 #include <simgear/sg_inlines.h>
-#include <simgear/math/SGMath.hxx>
 
 
 class FGAIWingman : public FGAIBallistic {
@@ -35,17 +34,15 @@ public:
     virtual ~FGAIWingman();
 
     virtual void readFromScenario(SGPropertyNode* scFileNode);
-    virtual void bind();
-    virtual void unbind();
-    virtual const char* getTypeString(void) const { return "wingman"; }
 
     bool init(bool search_in_AI_path=false);
-
-private:
-
-    virtual void reinit() { init(); }
+    virtual void bind();
+    virtual void reinit();
     virtual void update (double dt);
 
+    virtual const char* getTypeString(void) const { return "wingman"; }
+
+private:
     void formateToAC(double dt);
     void Break(double dt);
     void Join(double dt);