diff --git a/bin/Player.class b/bin/Player.class index 6ac2e33..f9425e2 100644 Binary files a/bin/Player.class and b/bin/Player.class differ diff --git a/src/Player.java b/src/Player.java index 070c567..2509589 100644 --- a/src/Player.java +++ b/src/Player.java @@ -216,19 +216,15 @@ public class Player extends Picture implements KeyListener { // extends Picture if (coordinate == 'x') { // Auslesen der 'x' - Koordinate: if (left && dt != 0) { xPos -= speed * dt; - System.out.println(speed * dt); } else if (right && dt != 0) { xPos += speed * dt; - System.out.println(speed * dt); } return (int) xPos; } else if (coordinate == 'y') { // Auslesen der 'y' - Koordinate: if (down && dt != 0) { yPos += speed * dt; - System.out.println(speed * dt); } else if (up && dt != 0) { yPos -= speed * dt; - System.out.println(speed * dt); } return (int) yPos; } else {