-FGPositioned::Type
-FGMarkerBeaconRecord::mapType(int aTy)
-{
- switch (aTy) {
- case 7: return FGPositioned::OM;
- case 8: return FGPositioned::MM;
- case 9: return FGPositioned::IM;
- default:
- throw sg_range_exception("Got a non-marker-beacon-type",
- "FGMarkerBeaconRecord::mapType");
- }
-}
-
-FGMarkerBeaconRecord*
-FGMarkerBeaconRecord::create(int aTy, const string& aName, const SGGeod& aPos)
+FGMarkerBeaconRecord::FGMarkerBeaconRecord(PositionedID aGuid, Type aTy,
+ PositionedID aRunway, const SGGeod& aPos) :
+ FGPositioned(aGuid, aTy, string(), aPos),
+ _runway(aRunway)