~LuaScriptContextWrapper()
void loadLua(std::string &luaStr)
Loads and compiles the given Lua script. Also, sets m_scriptReference to the index of the compiled sc...
void init(lua_State *parentState, LuaScript *script)
Creates and initializes all the necessary bits.
void update()
Updates the script - decreases delay counter, checks if it is finished, etc.
LuaScriptContextWrapper()
void createThread()
Creates the m_state variable as a thread, or subroutine of the parent.
unsigned int m_remainingDelay