// forward decls
class FGAirport;
class FGNavRecord;
+class SGPropertyNode;
class FGRunway : public FGRunwayBase
{
FGAirport* _airport;
- bool _reciprocal;
+ bool _isReciprocal;
+ FGRunway* _reciprocal;
double _displ_thresh;
double _stopway;
FGNavRecord* _ils;
* over runways to avoid counting runways twice, if desired.
*/
bool isReciprocal() const
- { return _reciprocal; }
+ { return _isReciprocal; }
/**
* Get the runway begining point - this is syntatic sugar, equivalent to
FGNavRecord* ILS() const { return _ils; }
void setILS(FGNavRecord* nav) { _ils = nav; }
+
+ FGRunway* reciprocalRunway() const
+ { return _reciprocal; }
+ void setReciprocalRunway(FGRunway* other);
+
+ /**
+ * Helper to process property data loaded from an ICAO.threshold.xml file
+ */
+ void processThreshold(SGPropertyNode* aThreshold);
};
#endif // _FG_RUNWAYS_HXX