Lots of work on look-at widgets
This commit is contained in:
@@ -18,11 +18,17 @@ function engio.move(action, xyz, facing)
|
||||
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)
|
||||
function cube.getlookat()
|
||||
return { "Hotkeys", "X", "I Am a Cube" }
|
||||
end
|
||||
|
||||
function engio.retmany()
|
||||
return 7, vec(8,9,10), "Yo", "Banana", 13.2, vec(2,3,4), "Hi"
|
||||
function sphere.getlookat()
|
||||
return { "Hotkeys", "X", "I Am a Sphere" }
|
||||
end
|
||||
|
||||
function engio.getlookat()
|
||||
local place = tangible.place()
|
||||
local class = tangible.getclass(place)
|
||||
return class.getlookat()
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user