I am creating a fleet / army generator
Should we agree syntax for call points. For example the generator could include "interfaces:" that would be similar to tags.
In the interfaces one could list those of the subtables that are meant to be exposed to external parties.
For example I have: generator file called Ship. It has within it a (large) number of ship types that could be called externally (and others I do not advertise).
interfaces: SuamChowBarge, HolyCountryTrireme
Then I could query the Json for any public interfaces and expose these as possible generation calls on the user interface...
and generate now one ofl them with:
Ships#HolyCountryTrireme
{
"name": "SuamChowBarge",
"entries": [
"...." ]
},
{
"name": "HolyCountryTrireme",
"entries": [
"...."
]
},
Should we agree syntax for call points. For example the generator could include "interfaces:" that would be similar to tags.
In the interfaces one could list those of the subtables that are meant to be exposed to external parties.
For example I have: generator file called Ship. It has within it a (large) number of ship types that could be called externally (and others I do not advertise).
interfaces: SuamChowBarge, HolyCountryTrireme
Then I could query the Json for any public interfaces and expose these as possible generation calls on the user interface...
and generate now one ofl them with:
Ships#HolyCountryTrireme
{
"name": "SuamChowBarge",
"entries": [
"...." ]
},
{
"name": "HolyCountryTrireme",
"entries": [
"...."
]
},