BARE2D
LuaFunctions.cpp File Reference
#include "LuaFunctions.hpp"
#include <string>
#include "Logger.hpp"
+ Include dependency graph for LuaFunctions.cpp:

Go to the source code of this file.

Namespaces

 BARE2D
 
 BARE2D::LuaFunctions
 

Functions

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. More...
 
int BARE2D::LuaFunctions::print (lua_State *L)
 Uses the Logger to print to the screen and log. Takes one argument, a string to print. More...