Closed Joalor64GH closed 7 months ago
I'm just testing someone's event system, but this code caused an error. Why doesn't it work?
public function new() { if (!Std.isOfType(T, Function)) { throw new Exception("type of customevents.Event must be function"); } // etc... }
Please refer to https://community.haxe.org for questions like this.
I'm just testing someone's event system, but this code caused an error. Why doesn't it work?