nadako / Ash-Haxe

Port of Ash entity framework to Haxe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Macro Nodes

mikecann opened this issue · comments

Just a suggestion. Have you considered using macros to generate nodes, so the user doesnt have to create lots of Node classes?

Not thought through all the problems with this but something like engine.getNodeList({pos:Position, disp:Display}); or something like that?

Yep this could be a nice feature, but it may be challenging to implement in an efficient haXe-way (so no realtime overhead, no nodelist duplication, more static checks and stuff). Feel free to contribute :-))