summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/core_module.cpp
blob: e91dd8f00980a1e88249149b2001d4dab641e0a0 (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 "core_module.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);
		// Threading 
		//LUAX_REGISTER_FACTORY(state, ThreadEx);
	}

	void CoreModule::Finalize(Luax::LuaxState& state)
	{

	}

}