Constructor and Description |
---|
LuaObject() |
Modifier and Type | Method and Description |
---|---|
abstract Table |
getMetatable()
Returns the metatable of this object, or
null if this object does not have
a metatable. |
abstract Table |
setMetatable(Table mt)
Sets the metatable of this object to
mt . |
public abstract Table getMetatable()
null
if this object does not have
a metatable.null
if this object does not have
a metatablepublic abstract Table setMetatable(Table mt)
mt
. mt
may be null
:
in that case, removes the metatable from this object.
Returns the metatable previously associated with this object (i.e., the metatable
before the call of this method; possibly null
).
mt
- new metatable to attach to this object, may be null
Copyright © 2016. All rights reserved.