Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Imports and package declaration omitted
- public class Experimental {
- public static void main(String[] args) {
- testLuaJava();
- }
- static void testLuaJava() {
- Globals g = JsePlatform.standardGlobals();
- Bobject b = (Bobject) CoerceLuaToJava.coerce(g.loadfile("test_lua.lua").call(), Bobject.class);
- b.doOne();
- b.doTwo(15, "A String");
- b.doArray(new Object[] {"Array string", 1, 39.0f});
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement