update method
Implementation
void update(
double dt,
Vector2 position,
Vector2 size,
) {
this.position = position;
this.size = size;
if (_playing) {
_fastAnimation?.position = position;
if (_fastAnimationOffset != _zero) {
_fastAnimation?.position += _fastAnimationOffset;
}
_fastAnimation?.update(dt);
_current?.update(dt);
}
}