diff options
author | chai <chaifix@163.com> | 2019-03-31 14:34:40 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-03-31 14:34:40 +0800 |
commit | fb7ae1149a80a22c77014d0ece33f6f4b965b631 (patch) | |
tree | 41540b0962be735204eb50eef54bd30e9184234a /source/modules/asura-core/core_module.cpp | |
parent | 8164adb15b76f537f8b6c78b9992786b61d61cc8 (diff) |
*misc
Diffstat (limited to 'source/modules/asura-core/core_module.cpp')
-rw-r--r-- | source/modules/asura-core/core_module.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source/modules/asura-core/core_module.cpp b/source/modules/asura-core/core_module.cpp index 6f484c0..e6b0dac 100644 --- a/source/modules/asura-core/core_module.cpp +++ b/source/modules/asura-core/core_module.cpp @@ -1,14 +1,21 @@ #include "core_module.h" using namespace AEThreading; +using namespace AEGraphics; +using namespace AEWnd; namespace AsuraEngine { void CoreModule::Initialize(Luax::LuaxState& state) { + // Graphics + LUAX_REGISTER_ABSTRACT_FACTORY(state, Texture); + LUAX_REGISTER_FACTORY(state, Image); + // Wnd + LUAX_REGISTER_SINGLETON(state, Window); // Threading - LUAX_REGISTER_FACTORY(state, ThreadEx); + //LUAX_REGISTER_FACTORY(state, ThreadEx); } void CoreModule::Finalize(Luax::LuaxState& state) |