Instead of an enum that has differently sized values for every unit type, have a single UnitType struct with several optional attribute bags. This makes it easier to use I think (and certainly easier to implement).
Also moves a bunch of stuff out of the main exports into submodules because I find the genie-rec docs, where i did this accidentally, much easier to scan.
Instead of an enum that has differently sized values for every unit type, have a single
UnitType
struct with several optional attribute bags. This makes it easier to use I think (and certainly easier to implement).Also moves a bunch of stuff out of the main exports into submodules because I find the genie-rec docs, where i did this accidentally, much easier to scan.