NOTE: This is a singleton class. The LuaContextManager, well, manages the Lua Contexts which the Scri...
void addContext(unsigned int id, LuaScriptContextWrapper *context)
Adds a context wrapper to the map.
void init(lua_State *parentState, LuaScript *script)
Creates and initializes all the necessary bits.
void update()
Updates all of the context wrappers, pausing, removing (if finished), or resuming them as is correct.
static LuaContextManager * getInstance()