Would be cool if we could make hooks like
@:hook("Tick")
function tick() {
Sys.println("Hi");
}
or
@Event("Tick")
function tick() {
trace("Hi");
}
Similar to how it works in S&Box right now
I'm not to the point in Haxe skill where I could easily get it to use the hook's arguments in these events but it'd be easy syntax sugar for hook.add(...)
Would be cool if we could make hooks like
or
Similar to how it works in S&Box right now
I'm not to the point in Haxe skill where I could easily get it to use the hook's arguments in these events but it'd be easy syntax sugar for
hook.add(...)