move method
Implementation
void move(BubbleConfig config, double time) {
y -= speed;
if (config.enableWobble) {
wobbleOffset = sin(time + wobbleSpeed) * config.wobbleIntensity;
x += wobbleOffset;
}
}
void move(BubbleConfig config, double time) {
y -= speed;
if (config.enableWobble) {
wobbleOffset = sin(time + wobbleSpeed) * config.wobbleIntensity;
x += wobbleOffset;
}
}