mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-03 02:07:59 +03:00
15 lines
354 B
C++
15 lines
354 B
C++
#pragma once
|
|
#include "framework.h"
|
|
class LuaHandler {
|
|
protected:
|
|
sol::state* m_lua;
|
|
~LuaHandler() = default;
|
|
|
|
public:
|
|
LuaHandler(sol::state* lua);
|
|
LuaHandler(LuaHandler const &) = delete;
|
|
LuaHandler& operator=(LuaHandler const &) = delete;
|
|
|
|
void ExecuteScript(const std::string & luaFilename);
|
|
void ExecuteString(const std::string & command);
|
|
};
|