 |
BARE2D
|
|
std::map< unsigned int, LuaScript * > & getQueue()
Returns the queue of scripts to activate.
std::map< unsigned int, LuaScript * > m_scripts
void clearQueue()
Clears the stored script queue - for regular use by tbe Script Engine. Deallocates memory that was in...
static LuaScriptQueue * getInstance()
Returns a pointer to the singleton object - creates the object if one doesn't already exist.
static LuaScriptQueue * m_instance
unsigned int addLuaScript(LuaScript &script)
Adds a script to the queue to be run.
static void destroyInstance()
Destroys the singleton.