1
0
Fork 0
fgdata/Aircraft/Instruments-3d/FG1000/Nasal/EIS/EISOptions.nas
Stuart Buchanan ad77dc2f9c Modify FG1000 EIS to use Emesary,
- New Emesary notificaion type for engine data
- New Canvas PFD UI Elements - Pointer, Rotating
- Upate EIS to use above.
2018-01-03 20:24:41 +00:00

28 lines
437 B
Text

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