X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAIModel%2FAIAircraft.hxx;h=49639799a19de71d367330e0f201e5a64517dfb0;hb=40639d38a877b7f58702db0c2b8831985b8ddbaf;hp=fd4fd2ad0813c2423006304b6ef6ccc4c823a613;hpb=157eb857ef36636a316947fe1eb3d9a8bea1959b;p=flightgear.git diff --git a/src/AIModel/AIAircraft.hxx b/src/AIModel/AIAircraft.hxx index fd4fd2ad0..49639799a 100644 --- a/src/AIModel/AIAircraft.hxx +++ b/src/AIModel/AIAircraft.hxx @@ -75,6 +75,9 @@ public: virtual const char* getTypeString(void) const { return "aircraft"; } + string GetTransponderCode() { return transponderCode; }; + void SetTransponderCode(string tc) { transponderCode = tc;}; + // included as performance data needs them, who else? inline PerformanceData* getPerformance() { return _performance; }; inline bool onGround() const { return no_roll; }; @@ -133,6 +136,7 @@ private: string acType; string company; + string transponderCode; int spinCounter; double prevSpeed; @@ -142,6 +146,8 @@ private: bool _getGearDown() const; + const char * _getTransponderCode() const; + bool reachedWaypoint; time_t timeElapsed;