update method
This smoothly updates the camera for an amount of time dt
.
This should be called by the Game class during the update cycle.
Implementation
void update(double dt) {
super.update(dt);
if (dt != 0 && gameRef.isLoaded == true) {
_followTarget(
dt,
sizeWindows: this.sizeMovementWindow,
);
}
}