makeclass('login') makeclass("engio") makeclass('tree') function tree.init(self, config) print("In tree.init:") pprint{self=self, config=config} wait(1) print("tick"); wait(1) end function login.init(actor, place) dprint("login.init:", actor) local x = math.random(1, 100) local y = math.random(1, 100) tangible.animate(actor, nil, {bp="tangiblecharacter", action="warpto", plane="earth", xyz={x, y, 90}}) end function engio.move(actor, place, action, xyz, facing) -- todo: sanity check the parameters. dprint("engio.move ", action, " ", xyz[1], " ", xyz[2], " ", xyz[3]) tangible.animate(actor, nil, {action=action, xyz=xyz, facing=facing}) end function engio.printhi(a1, a2, a3, a4, a5) pprint("Hi there", a1, a2, a3, a4, a5) end function engio.retthree(a1, a2) return { 5, {3, 4, 5}, "Howdy" } end