コード例 #1
0
 public void run()
 {
     luaEng = new LuaEngine();
     luaEng.registerLuaFunctions(this); // binds lua function say() to the printSaying() below
     LuaInterpreter interp = new LuaInterpreter(luaEng);
 }
コード例 #2
0
 public LuaInterpreter(LuaEngine eng)
 {
     engine = eng;
     showMainMenu();
 }