Releases: jrvjrv/StateCounterExt
Proof-of-concept 0.08.00
Class is now able to read initialization out of buildFile rather than being hard-coded. The current buildfile still only has the 4-5-8/4-4-7/4-2-6/5-2-7/6-2-8 counter series, but it should be possible to create any arbitrary configuration.
There is no editor yet, so JSON would have to be built by hand.
Created a Dependency Inversion root and some unit tests. The code does not use a DI container, only poor-man's DI. The DI structure helps with the unit tests.
Proof-of-concept 0.05.00
Hard-coded vasl extension that shows a regular 4-5-8, a new 4-5-8 & a new 4-4-7 in the counters window. The new counters support ^E=ELR, ^V=full/half squad, ^Q=battle harden & ^F=break. The extension is only sketched out. Editing in particular is not implemented.
The interesting bit is the new counter's behavior on ELR/battle harden. The new counter implements the correct behavior, with the ELR from a 4-4-7 to a 4-2-6 being one-way. There is no way that I know of to do this with a vasl embellishment class.
4-5-8<-->4-4-7-->4-2-6<-->5-2-7<-->6-2-8
The goal is to have a StateCounter class that will allow arbitrary transitions from state to state over any number of states. The recent leaders from Bounding Fire (e.g. 7-1 leader) could use this sort of behaviour. Some of the Bounding Fire aircraft (with mixes of bombs and rockets) could also use this.