1
0
Fork 0
fgdata/Aircraft/Instruments-3d/FG1000/Nasal/AirportApproach/AirportApproachOptions.nas

29 lines
473 B
Text
Raw Normal View History

# AirportApproach Options
var AirportApproachOptions =
{
new : func() {
var obj = { parents : [AirportApproachOptions] };
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 = {};
},
};