]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/parking.cxx
Checkpoint - ground-net skips the cache
[flightgear.git] / src / Airports / parking.cxx
index 032a12549c50beb4dc58f92365d3b068438e2efd..b5c8f1ef0667fd5055190d9f45f082ac5a7fa0d9 100644 (file)
  * FGParking
  ********************************************************************************/
 
-FGParking::FGParking(PositionedID aGuid, const SGGeod& pos,
+FGParking::FGParking(int index,
+                     const SGGeod& pos,
                      double aHeading, double aRadius,
-                     const std::string& name, const std::string& aType,
-                     const std::string& codes,
-                     PositionedID pushBackNode) :
-  FGTaxiNode(aGuid, pos, false, 0),
+                     const std::string& name,
+                     const std::string& aType,
+                     const std::string& codes) :
+  FGTaxiNode(index, pos, false, 0),
   heading(aHeading),
   radius(aRadius),
   parkingName(name),
   type(aType),
-  airlineCodes(codes),
-  pushBackPoint(pushBackNode)
+  airlineCodes(codes)
 {
 }
 
 FGParking::~FGParking()
 {
 }
+
+void FGParking::setPushBackPoint(const FGTaxiNodeRef &node)
+{
+    pushBackPoint = node;
+}