summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/core_module.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/modules/asura-core/core_module.cpp')
-rw-r--r--source/modules/asura-core/core_module.cpp9
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)