Callback - Mtax-Development/GML-OOP GitHub Wiki
Constructs a Handler storing a reference to a function or an array of them and their arguments to execute them at later point. Single value specified as an argument will be provided to each execution. If multiple functions or methods are being executed, arguments specified in an array will be provided to calls at respective array positions as single argument, unless it is a nested array to provide every of its values as multiple arguments to a single call. Empty arrays provide zero arguments.
Destruction |
Elements |
Garbage Collection |
None |
Name |
Type |
Default |
Modifiable |
ID |
None |
Yes |
|
self.argument |
[ ] |
Yes |
|
scope |
other |
Yes |
Name |
Arguments |
New constructor |
|
Empty |
|
Constructor copy |
other {Callback} |