diff --git a/bin/Game.class b/bin/Game.class index 90b3a0b..f1da680 100644 Binary files a/bin/Game.class and b/bin/Game.class differ diff --git a/bin/Ghost.class b/bin/Ghost.class index b0bffb5..56aa79b 100644 Binary files a/bin/Ghost.class and b/bin/Ghost.class differ diff --git a/src/Game.java b/src/Game.java index 7975050..5f43905 100644 --- a/src/Game.java +++ b/src/Game.java @@ -1,6 +1,7 @@ import java.awt.Color; import java.awt.Font; +import javax.swing.ImageIcon; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; @@ -49,6 +50,9 @@ public class Game { // aufgerufen wird?) frame = new JFrame(); // Fenster + ImageIcon img = new ImageIcon("assets/Pacman_Right.png"); + frame.setIconImage(img.getImage()); + panel = new JPanel(); // darauf werden alle sichtbaren Elemente gespeichert