ExampleModule.cpp 307 B

123456789101112131415161718
  1. #include "core/module.h"
  2. #include "console/engineAPI.h"
  3. MODULE_BEGIN(ExampleModule_Module)
  4. MODULE_INIT_AFTER(Sim)
  5. MODULE_SHUTDOWN_BEFORE(Sim)
  6. MODULE_INIT
  7. {
  8. // Setup anything needed when the engine initializes here
  9. }
  10. MODULE_SHUTDOWN
  11. {
  12. // Cleanup anything that was initialized before here
  13. }
  14. MODULE_END;