summaryrefslogtreecommitdiff
path: root/Source/modules/asura-core/CoreModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/modules/asura-core/CoreModule.cpp')
-rw-r--r--Source/modules/asura-core/CoreModule.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/Source/modules/asura-core/CoreModule.cpp b/Source/modules/asura-core/CoreModule.cpp
new file mode 100644
index 0000000..93f8ca0
--- /dev/null
+++ b/Source/modules/asura-core/CoreModule.cpp
@@ -0,0 +1,25 @@
+#include "CoreModule.h"
+
+using namespace AEThreading;
+using namespace AEGraphics;
+
+namespace AsuraEngine
+{
+
+ void CoreModule::Initialize(Luax::LuaxState& state)
+ {
+ // Graphics
+ LUAX_REGISTER_ABSTRACT_FACTORY(state, Texture);
+ LUAX_REGISTER_FACTORY(state, AEGraphics::Image);
+ // Wnd
+ LUAX_REGISTER_SINGLETON(state, AEWindow::Window);
+ // Threads
+ //LUAX_REGISTER_FACTORY(state, ThreadEx);
+ }
+
+ void CoreModule::Finalize(Luax::LuaxState& state)
+ {
+
+ }
+
+} \ No newline at end of file