From 07b3ae994d0e68b5c266f5aa212024d5064847c2 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sun, 15 Oct 2017 22:50:08 -0400 Subject: scriptable attacks? --- include/systems/lua.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/systems/lua.hpp b/include/systems/lua.hpp index 2df038a..1137308 100644 --- a/include/systems/lua.hpp +++ b/include/systems/lua.hpp @@ -44,11 +44,11 @@ public: lua_setglobal(state, name.c_str()); } + void operator()(const std::string& func = "update") const; void operator()(const std::string& func, std::vector vars) const; void operator()(const std::string& func, std::vector& rets, std::vector vars) const; void operator()(std::vector vars) const; void operator()(std::vector& rets, std::vector vars) const; - void operator()(const std::string& func = "update") const; }; class LuaSystem { -- cgit v1.2.3