mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 20:54:46 +00:00
19 lines
307 B
C++
19 lines
307 B
C++
|
|
#include "core/module.h"
|
||
|
|
#include "console/engineAPI.h"
|
||
|
|
|
||
|
|
MODULE_BEGIN(ExampleModule_Module)
|
||
|
|
|
||
|
|
MODULE_INIT_AFTER(Sim)
|
||
|
|
MODULE_SHUTDOWN_BEFORE(Sim)
|
||
|
|
|
||
|
|
MODULE_INIT
|
||
|
|
{
|
||
|
|
// Setup anything needed when the engine initializes here
|
||
|
|
}
|
||
|
|
MODULE_SHUTDOWN
|
||
|
|
{
|
||
|
|
// Cleanup anything that was initialized before here
|
||
|
|
}
|
||
|
|
MODULE_END;
|
||
|
|
|