Functions | |
| int | delay (lua_State *L) |
| A custom function which calls a lua_yield. Takes one argument, an integer representing how many updates the script should yield for. More... | |
| int | print (lua_State *L) |
| Uses the Logger to print to the screen and log. Takes one argument, a string to print. More... | |
| int BARE2D::LuaFunctions::delay | ( | lua_State * | L | ) |
A custom function which calls a lua_yield. Takes one argument, an integer representing how many updates the script should yield for.
| L | The state |
Definition at line 9 of file LuaFunctions.cpp.
Referenced by BARE2D::LuaScriptEngine::init().
Here is the caller graph for this function:| int BARE2D::LuaFunctions::print | ( | lua_State * | L | ) |
Uses the Logger to print to the screen and log. Takes one argument, a string to print.
| L | The state |
Definition at line 16 of file LuaFunctions.cpp.
References BARE2D::Logger::getInstance(), and BARE2D::Logger::log().
Referenced by BARE2D::LuaScriptEngine::init().
Here is the call graph for this function:
Here is the caller graph for this function: