(time)
| 28 | } |
| 29 | |
| 30 | _syncTweens(time) { |
| 31 | // NOTE: forward iteration is important here so the tweens are evaluated in order |
| 32 | // of when they end; that way later tweens will take precedence over earlier ones. |
| 33 | // TODO would be nice to ignore tweens past their totalElapsed entirely, but have to |
| 34 | // figure out how to do that while ensuring they don't get stuck with a value that is |
| 35 | // slightly prior to their end state. |
| 36 | for (let i = 0, len = this.tweens.length; i < len; i++) { |
| 37 | this.tweens[i].gotoElapsedTime(time) |
| 38 | } |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | function endTimeComparator(a, b) { |
nothing calls this directly
no test coverage detected