(nextRunning)
| 2160 | } |
| 2161 | |
| 2162 | function setRunning(nextRunning) { |
| 2163 | if (!_running && nextRunning) { |
| 2164 | addOrRemoveMask(false); |
| 2165 | } |
| 2166 | else if (_running && !nextRunning) { |
| 2167 | addOrRemoveMask(true); |
| 2168 | } |
| 2169 | _running = nextRunning; |
| 2170 | } |
| 2171 | |
| 2172 | function nextFrame() { |
| 2173 | opt.onFrame && opt.onFrame(_frameNumber); |
no test coverage detected