update method
Implementation
void update(
double dt,
Vector2 size,
) {
this.size = size;
if (_playing) {
_fastAnimation?.update(dt);
_current.size = size;
_current.update(dt);
}
if (_strokeSize.isZero()) {
_strokeSize = Vector2(
size.x + _strokeWidth * 2,
size.y + _strokeWidth * 2,
);
}
}