update method

void update(
  1. double dt,
  2. Vector2Rect position
)

Implementation

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