summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/CoreModule.cpp
blob: 93f8ca0bdcd8d2b8131b815dc3dc1e91bf1902a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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)
	{

	}

}