(f, object)
| 17 | /* wrapper */ |
| 18 | |
| 19 | function wrapExposedMethod(f, object) { |
| 20 | return function () { |
| 21 | var args = arguments; |
| 22 | return __game._callUnexposedMethod(function () { |
| 23 | return f.apply(object, args); |
| 24 | }); |
| 25 | }; |
| 26 | }; |
| 27 | |
| 28 | /* unexposed methods */ |
| 29 |