X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2FAIStatic.hxx;h=f7ca53a393b80cfd69bdbc9640baac8aca1bde91;hb=239fea1b54870ca8d47084a532a5995900fb637a;hp=25c9b011f15c2d0a2f92a2842d7a9b3ec310a492;hpb=ab83702c16d7c5c2fea991ab485ff81f9778bf92;p=flightgear.git diff --git a/src/AIModel/AIStatic.hxx b/src/AIModel/AIStatic.hxx index 25c9b011f..f7ca53a39 100644 --- a/src/AIModel/AIStatic.hxx +++ b/src/AIModel/AIStatic.hxx @@ -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 @@ -25,25 +25,22 @@ #include "AIBase.hxx" #include -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"; } };