1
0
Fork 0
fgdata/Aircraft/Instruments-3d/FG1000/Nasal/MFDPages/XMInfo/XMInfoOptions.nas
2018-02-05 19:33:28 +00:00

28 lines
446 B
Text

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