1 // FGAIWingman - FGAIBllistic-derived class creates an AI Wingman
3 // Written by Vivian Meazza, started February 2008.
4 // - vivian.meazza at lineone.net
6 // This program is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License as
8 // published by the Free Software Foundation; either version 2 of the
9 // License, or (at your option) any later version.
11 // This program is distributed in the hope that it will be useful, but
12 // WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // General Public License for more details.
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #ifndef _FG_AIWINGMAN_HXX
21 #define _FG_AIWINGMAN_HXX
23 #include "AIBallistic.hxx"
25 #include "AIManager.hxx"
28 class FGAIWingman : public FGAIBallistic {
31 virtual ~FGAIWingman();
33 virtual void readFromScenario(SGPropertyNode* scFileNode);
35 virtual void unbind();
36 virtual const char* getTypeString(void) const { return "wingman"; }
38 bool init(bool search_in_AI_path=false);
42 virtual void reinit() { init(); }
43 virtual void update (double dt);
47 #endif // FG_AIWINGMAN_HXX