Implement spawn mechanism without reflection? #1126
chengenzhao
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
Good suggestion. Feel free to turn this into an issue and I'll schedule for FXGL 17 as I believe the implementation is quite trivial -- allow the dev to add spawn methods manually to some map:
None of the existing API will change. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi:
Currently if need to use graalvm to aot our program written in FXGL
we have to write those class using reflection in XML
is it possible to provide a way writing codes without xml configuration and annotation?
Which means FXGL needs to provide an implementation of spawn etc. without using reflection
so could it be possible to provide an alternative option for spawn methods?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions