标签:
1.lua game = {} function game.play() print("那么,开始吧"); end return game;
2.lua require "1" function game.quit() print("你走吧,我保证你不会出事的,呵,呵呵"); end
main.lua require "2" local function main() game=require("1") game.play(); game.quit(); end main()
标签:
原文地址:http://www.cnblogs.com/yufenghou/p/4305188.html