]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AIStatic.hxx
Fix a Clang warning, checking signed char as if it was unsigned.
[flightgear.git] / src / AIModel / AIStatic.hxx
index 25c9b011f15c2d0a2f92a2842d7a9b3ec310a492..f7ca53a393b80cfd69bdbc9640baac8aca1bde91 100644 (file)
@@ -16,7 +16,7 @@
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 #ifndef _FG_AIStatic_HXX
 #define _FG_AIStatic_HXX
 #include "AIBase.hxx"
 
 #include <string>
-SG_USING_STD(string);
+using std::string;
 
 
 class FGAIStatic : public FGAIBase {
 
 public:
 
-       FGAIStatic(FGAIManager* mgr);
+       FGAIStatic();
        ~FGAIStatic();
-       
-       bool init();
+
+       virtual bool init(bool search_in_AI_path=false);
         virtual void bind();
         virtual void unbind();
-       void update(double dt);
-
-private:
+       virtual void update(double dt);
 
-        double dt; 
-       
+        virtual const char* getTypeString(void) const { return "static"; }
 };