Moai SDK
1.5 revision 1 (MoaiEdition)
|
Function List | |
reserveAttrs | |
setCallback |
Reserve memory for custom attributes and initializes them to 0.
function reserveAttrs ( MOAIScriptNode self, number nAttributes )
self | ( MOAIScriptNode ) |
nAttributes | ( number ) |
Sets a Lua function to be called whenever the node is updated.
function setCallback ( MOAIScriptNode self, function onUpdate )
self | ( MOAIScriptNode ) |
onUpdate | ( function ) |