update method
Implementation
void update(double dt) {
if (!gameRef.hasLayout) return;
_doShake();
_followTarget(
dt,
sizeVertical: config.sizeMovementWindow.height,
sizeHorizontal: config.sizeMovementWindow.width,
);
}
void update(double dt) {
if (!gameRef.hasLayout) return;
_doShake();
_followTarget(
dt,
sizeVertical: config.sizeMovementWindow.height,
sizeHorizontal: config.sizeMovementWindow.width,
);
}