diff --git a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java index a73c94c..add52f9 100644 --- a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java +++ b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java @@ -19,7 +19,7 @@ public class MouseGame extends JFrame { private JPanel contentPane; - Robot robot = new Robot(); + public Robot robot = new Robot(); /** @@ -45,7 +45,7 @@ public class MouseGame extends JFrame { //Fensterrahmen Haupt Layout setTitle("Maze Game"); setBounds(100, 100, 900, 650); - + robot.mouseMove(200, 170); contentPane = new JPanel(); contentPane.setBorder(new EmptyBorder(5, 5, 5, 5)); @@ -110,7 +110,7 @@ public class MouseGame extends JFrame { }//end standardkonstruktor - + private void reset(JPanel panel) { panel.addMouseListener(new MouseAdapter() { @Override