optimizations, optimizations
This commit is contained in:
parent
d00d7318b5
commit
44053f01f6
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user