update method
Implementation
void update(double dt, Vector2Rect position) {
this.position = position;
_fastAnimation?.opacity = opacity;
_fastAnimation?.position = position;
_fastAnimation?.update(dt);
_current?.update(dt);
}
void update(double dt, Vector2Rect position) {
this.position = position;
_fastAnimation?.opacity = opacity;
_fastAnimation?.position = position;
_fastAnimation?.update(dt);
_current?.update(dt);
}