 |
BARE2D
|
|
std::map< unsigned int, LuaScript * > & getQueue()
Returns the queue of scripts to activate.
This class essentially just collects all of the scripts that need to be run from all the various end-...
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.
This is the basic Lua script wrapper - it is what the end-user will create and add to the queue....