FlightGear next
AIStatic.hxx
Go to the documentation of this file.
1/*
2 * SPDX-FileName: AIStatic.hxx
3 * SPDX-FileComment: AIBase derived class creates AI static object
4 * SPDX-FileCopyrightText: Copyright (C) 2005 David P. Culp - davidculp2@comcast.net
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 */
7
8#pragma once
9
10#include <string_view>
11
12#include "AIBase.hxx"
13#include "AIManager.hxx"
14
15
16class FGAIStatic : public FGAIBase
17{
18public:
19 FGAIStatic();
20 virtual ~FGAIStatic() = default;
21
22 std::string_view getTypeString(void) const override { return "static"; }
23 void update(double dt) override;
24};
FGAIBase(object_type ot, bool enableHot)
Definition AIBase.cxx:146
virtual ~FGAIStatic()=default
std::string_view getTypeString(void) const override
Definition AIStatic.hxx:22
void update(double dt) override
Definition AIStatic.cxx:35