gotoAndPlay method
Seeks to time (clamped to [0, Animation.endTime]) and starts
playing.
Equivalent to seek(time); play();.
Implementation
void gotoAndPlay(double time) {
seek(time);
playing = true;
}
Seeks to time (clamped to [0, Animation.endTime]) and starts
playing.
Equivalent to seek(time); play();.
void gotoAndPlay(double time) {
seek(time);
playing = true;
}