Just™ Game Engine
Classes | Namespaces | Macros | Functions
lua_engine.hpp File Reference
#include <jng/core/base.hpp>
#include <jng/scene/entity.hpp>

Go to the source code of this file.

Classes

struct  jng::LuaEngine::ScriptData
 
struct  jng::LuaEngine::ScriptData::Property
 

Namespaces

namespace  jng
 
namespace  jng::LuaEngine
 

Macros

#define JNG_PRINT_LUA_STACK()
 

Functions

void jng::LuaEngine::init ()
 
void jng::LuaEngine::shutdown ()
 
std::string jng::LuaEngine::registerScript (const std::filesystem::path &path)
 
void jng::LuaEngine::unregisterScripts ()
 
ScriptData jng::LuaEngine::getScriptData (const std::string &name)
 
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)
 

Macro Definition Documentation

◆ JNG_PRINT_LUA_STACK

#define JNG_PRINT_LUA_STACK ( )