Library globals

Function globals . canvas . MapStructure . Symbol . callback

View source

Executes callback function specified by the first argument with
variable arguments. The callback is executed within the 'me' context.
Callbacks must be defined inside the options hash.

EXAMPLE:

me.options = {
dump_callback: func(){
print('Waypoint '~ me.model.id);
}
}
me.callback('dump');

Parameters

name

args
variable