eastern-flames/eastern flames/scripts/with_array/with_array.gml

6 lines
132 B
Plaintext

function with_array(objects, function_) {
var j;
for (j=0; j<array_length(objects); j++) {
method(objects[j], function_)();
}
}