optimizations, optimizations

This commit is contained in:
2025-10-19 21:31:17 -05:00
parent 6768f3d19a
commit ca56bc1a3e

View File

@@ -158,7 +158,8 @@ public class BouncingBall extends Pane {
public void moveRacket(double x) {
moveEventLabel.setText("Move events: " + ++moveEvent);
racket.relocate(x, getHeight() - 20);
racket.setX(x);
//relocate(x, getHeight() - 20);
}
public void showInfoLabel() {