23 setName(scFileNode->getStringValue(
"name",
"Tanker"));
30 tie(
"refuel/contact", SGRawValuePointer<bool>(&contact));
33 props->setStringValue(
"navaids/tacan/channel-ID", TACAN_channel_id.c_str());
35 props->setBoolValue(
"tanker",
true);
40 TACAN_channel_id = id;
43void FGAITanker::Run(
double dt)
45 double start =
pos.getElevationFt() + 1000.0;
61void FGAITanker::update(
double dt)
FGAIAircraft(FGAISchedule *ref=0)
void update(double dt) override
void readFromScenario(SGPropertyNode *scFileNode) override
double _getAltitudeAGL(SGGeod inpos, double start)
void setName(const std::string &n)
double UpdateRadar(FGAIManager *manager)
void tie(const char *aRelPath, const SGRawValue< T > &aRawValue)
Tied-properties helper, record nodes which are tied for easy un-tie-ing.
void setTACANChannelID(const std::string &id)
void readFromScenario(SGPropertyNode *scFileNode) override
FGAITanker(FGAISchedule *ref=0)