1
0
Fork 0
fgdata/Aircraft/Instruments-3d/FG1000/Nasal/AirportDeparture/AirportDepartureOptions.nas
2017-12-10 22:15:21 +00:00

28 lines
476 B
Text

# AirportDeparture Options
var AirportDepartureOptions =
{
new : func() {
var obj = { parents : [AirportDepartureOptions] };
obj.Options= {};
obj.loadOptions();
return obj;
},
getOption : func(type) {
return me.Options[type];
},
setOption : func(type, name, value) {
me.Options[type][name] = value;
},
loadOptions : func() {
me.clearOptions();
me.Options.APS = {};
},
clearOptions : func() {
me.Options = {};
},
};