]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AITanker.hxx
Optimise NavCache airport query
[flightgear.git] / src / AIModel / AITanker.hxx
index 9114dc20072e285ad0bbbf64ecc86ec3a2f14218..fcea6a28fcd1ad2a2dd6ff6eb9cb937436eb887c 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef FGAITANKER_HXX
 #define FGAITANKER_HXX
 
-#include <AIAircraft.hxx>
+#include "AIAircraft.hxx"
 
 /**
  * An AI tanker for air-air refueling.
@@ -31,7 +31,7 @@
  * is to have a clean generic AIAircraft class without any special functionality. In your
  * scenario specification use 'tanker' as the scenario type to use this class.
  * 
- * @author Thomas Förster <t.foerster@biologie.hu-berlin.de>
+ * @author Thomas Fster <t.foerster@biologie.hu-berlin.de>
 */
 
 class FGAITanker : public FGAIAircraft {
@@ -41,18 +41,17 @@ public:
 
     virtual void readFromScenario(SGPropertyNode* scFileNode);
     virtual void bind();
-    virtual void unbind();
 
     virtual const char* getTypeString(void) const { return "tanker"; }
 
-    void setTACANChannelID(const string& id);
+    void setTACANChannelID(const std::string& id);
     
 private:
-    string TACAN_channel_id;     // The TACAN channel of this tanker
+    std::string TACAN_channel_id;     // The TACAN channel of this tanker
     bool contact;                // set if this tanker is within fuelling range
 
     virtual void Run(double dt);
-
+    virtual void update (double dt);
 };
 
 #endif