Browse Source

[MouseGame Class]: Ändern der Maus-Startposition.

remotes/origin/MouseGame
fdai7382 2 years ago
parent
commit
b63a44e585
  1. 4
      JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/MouseGame.java

4
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));

Loading…
Cancel
Save