* Add a callback to be called each frame * 添加每帧调用的回调
(callback: Function, caller: any)
| 74 | * 添加每帧调用的回调 |
| 75 | */ |
| 76 | public static add(callback: Function, caller: any): void { |
| 77 | Timer.inst.frameLoop(1, caller, callback); |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * Remove a callback |
no test coverage detected