2,733
edits
(→Cockpit switches: add missing switches) |
Red Leader (talk | contribs) (Remove spaces) |
||
Line 198: | Line 198: | ||
<syntaxhighlight lang="nasal"> | <syntaxhighlight lang="nasal"> | ||
{ | |||
id:'planArcs', | |||
impl: { | |||
init: func(nd,symbol) {}, | |||
predicate: func(nd) { nd.in_mode('toggle_display_mode', ['PLAN']) }, | |||
is_true: func(nd) { nd.symbols.planArcs.show() }, | |||
is_false: func(nd) { nd.symbols.planArcs.hide() }, | |||
}, | }, | ||
}, | |||
</syntaxhighlight> | </syntaxhighlight> | ||