A submarine periscope is a type of mast. So, we have a set of masts, some of which are periscopes. This visualiser will show the state of each mast. Clicking on the state will invert it (from up to down...).
So, when we read in this widget (from the widgets child of the Underwater category), we create a mast visualiser that looks like this:
Clicking on any of these both inverts the state, and injects a new entry into the EntryList. Event id is mast-up or mast-down with these fields type:xxx (search, radar, esm), with a reason text box.
Here's the spec for a new visualiser.
A submarine periscope is a type of mast. So, we have a set of masts, some of which are periscopes. This visualiser will show the state of each mast. Clicking on the state will invert it (from up to down...).
The state will be indicated by an arrow icon.
Here is how it will be stored in JSON:
{ id: "mast-state", masts: ["search", "radar", "esm"] }
(note: I'll modify the UI definition in master branch to include this https://github.com/DeepBlueCLtd/narr-next/pull/79/commits/a6933526df0a91b431baabc8321a85387e1d0175 )
So, when we read in this widget (from the widgets child of the Underwater category), we create a mast visualiser that looks like this:
Clicking on any of these both inverts the state, and injects a new entry into the EntryList. Event id is mast-up or mast-down with these fields type:xxx (search, radar, esm), with a reason text box.