public LuaFunction(int reference, LuaState state) { this.reference = reference; this.luaState = state; }