lua.wetgenes.gamecake.zone.scene.call
scene:call(fname,...)
If fname is a string then that method will be invoked for every item where it exists like so. Only the first item of each caste is tested, if the function exists there then it is expected to exist for all items of a given caste. This enables us to skip entire castes whilst still making all functions optional.
if it[fname] then it[fname](it,...) end
if fname is a function then it will result in every item geting called with that function like so.
fname(it,...)
The calls are always made backwards through the table so that an item can choose to delete itself.
Finally we return the number of calls we made so you can keep track of currently active items.