Hello Community.
Simple question. I have a lot of GUI creation in my event handler (I'm going off the tutorial Mesh Viewer). My event handler is a bit more robust than that example, and a lot of things that I need to create on my GUI also need to happen if triggered by an event. Is there a way to trigger those events in the main method so I don't have to write the code twice?
Trigger Event at startup
Re: Trigger Event at startup
The eventreceiver is your own class. As with every class in c++ you can add any functions and pass any parameters you want to it.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm