#include <string>
#include "parking.hxx"
-#include "groundnetwork.hxx"
/*********************************************************************************
* FGParking
********************************************************************************/
-FGParking::FGParking(PositionedID aGuid, int index, 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& name,
+ const std::string& aType,
const std::string& codes) :
- FGTaxiNode(aGuid, index, pos, false, 0),
+ FGTaxiNode(index, pos, false, 0),
heading(aHeading),
radius(aRadius),
parkingName(name),
type(aType),
- airlineCodes(codes),
- available(true),
- pushBackPoint(0)
+ airlineCodes(codes)
{
}
FGParking::~FGParking()
{
}
+
+void FGParking::setPushBackPoint(const FGTaxiNodeRef &node)
+{
+ pushBackPoint = node;
+}