Just™ Game Engine
|
Classes | |
struct | LuaEngineData |
struct | ScriptData |
Functions | |
void | init () |
void | shutdown () |
std::string | registerScript (const std::filesystem::path &path) |
void | unregisterScripts () |
ScriptData | getScriptData (const std::string &name) |
void | onCreate (Entity entity, LuaScriptComponent &lsc) |
void | onDestroy (Entity entity, LuaScriptComponent &lsc) |
void | onUpdate (Entity entity, LuaScriptComponent &lsc, float dt) |
void | printLuaStack (const char *file, int line) |
ScriptData jng::LuaEngine::getScriptData | ( | const std::string & | name | ) |
void jng::LuaEngine::init | ( | ) |
void jng::LuaEngine::onCreate | ( | Entity | entity, |
LuaScriptComponent & | lsc | ||
) |
void jng::LuaEngine::onDestroy | ( | Entity | entity, |
LuaScriptComponent & | lsc | ||
) |
void jng::LuaEngine::onUpdate | ( | Entity | entity, |
LuaScriptComponent & | lsc, | ||
float | dt | ||
) |
void jng::LuaEngine::printLuaStack | ( | const char * | file, |
int | line | ||
) |
std::string jng::LuaEngine::registerScript | ( | const std::filesystem::path & | path | ) |
void jng::LuaEngine::shutdown | ( | ) |
void jng::LuaEngine::unregisterScripts | ( | ) |