Invoke can now only invoke method in class 'invoke', likewise for 'probe'
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
makeclass("world")
|
||||
makeclass('world')
|
||||
makeclass('login')
|
||||
makeclass("engio")
|
||||
makeclass('probe')
|
||||
makeclass('invoke')
|
||||
makeclass('cube')
|
||||
makeclass('sphere')
|
||||
|
||||
@@ -23,7 +24,7 @@ function world.init()
|
||||
login.init()
|
||||
end
|
||||
|
||||
function engio.move(action, xyz, facing)
|
||||
function invoke.move(action, xyz, facing)
|
||||
-- todo: sanity check the parameters.
|
||||
tangible.animate{tan=actor, anim={action=action, interactive=true, xyz=xyz, facing=facing}}
|
||||
end
|
||||
@@ -54,7 +55,7 @@ function sphere.lookhotkeys(add)
|
||||
end
|
||||
|
||||
|
||||
function engio.getlookat()
|
||||
function probe.getlookat()
|
||||
local class = tangible.getclass(place)
|
||||
|
||||
-- if the tangible is not of any class, return empty string.
|
||||
|
||||
Reference in New Issue
Block a user