optimizations, optimizations

master
Caleb Fontenot 2023-09-14 17:25:31 +07:00
parent d00d7318b5
commit 44053f01f6
1 changed files with 2 additions and 1 deletions

@ -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() {