* reset the current animation to its first frame (the frame-animation half of * Sprite#stop — the host still handles any video / pause concerns).
()
| 332 | * {@link Sprite#stop} — the host still handles any video / pause concerns). |
| 333 | */ |
| 334 | rewind() { |
| 335 | this.resetTimer(); |
| 336 | if (this.current.name !== undefined && this.current.length > 0) { |
| 337 | this.setAnimationFrame(0); |
| 338 | } |
| 339 | } |
| 340 | |
| 341 | /** |
| 342 | * advance the frame animation by `dt` milliseconds, stepping frames, looping |
no test coverage detected