Fine, fuck it.
I wracked my brain trying to figure out a way around adding a bunch of lines which, to me, seemed redundant and unnecessary. Though I’m sure Haxe macros are much more powerful and impressive than using #define in C/C++, that’s cold comfort when it makes doing something that would be trivially easy with the simple code replacement of #define a byzantine nightmare.
So, whatever. It works. It just works in such a way that means that each parameter I declare on each behavior requires 6 lines of code instead of 1 or 2.
It builds now, it runs now. Tomorrow I’ll iron all the bugs out and start figuring out the parameter editor. I have a good idea of the general shape of it, but it will take some care to properly structure it. Hopefully crafting the interface won’t be too onerous.