Files
WickedEngine/WickedEngine/LoadingScreen_BindLua.h
T
2020-03-07 16:18:23 +00:00

30 lines
612 B
C++

#pragma once
#include "wiLua.h"
#include "wiLuna.h"
#include "LoadingScreen.h"
#include "RenderPath2D_BindLua.h"
class LoadingScreen_BindLua : public RenderPath2D_BindLua
{
public:
static const char className[];
static Luna<LoadingScreen_BindLua>::FunctionType methods[];
static Luna<LoadingScreen_BindLua>::PropertyType properties[];
LoadingScreen_BindLua(LoadingScreen* component)
{
this->component = component;
}
LoadingScreen_BindLua(lua_State* L)
{
component = new LoadingScreen;
owning = true;
}
int AddLoadingTask(lua_State* L);
int OnFinished(lua_State* L);
static void Bind();
};