update method
Implementation
void update(double dt) {
final animation = animationRef;
if (animation == null) {
return;
}
clock += dt;
while (clock > animation.lastTime) {
clock -= animation.lastTime;
}
}
void update(double dt) {
final animation = animationRef;
if (animation == null) {
return;
}
clock += dt;
while (clock > animation.lastTime) {
clock -= animation.lastTime;
}
}