Browse Source

[GamelauncherMain Class]: Zahlen durch Konstante ersetzt

remotes/origin/TikTakToeGame
fdai7431 2 years ago
parent
commit
4b0a5f346b
  1. 9
      JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java

9
JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java

@ -16,6 +16,7 @@ import javax.swing.border.EmptyBorder;
public class GamelauncherMain extends JFrame {//class
int yAbschnitt = 500;
public int breite = 1270;
@ -84,10 +85,10 @@ public class GamelauncherMain extends JFrame {//class
btnTikTakToe.setFont(new Font("Consolas", Font.PLAIN, 12));
btnTextadventure.setFont(new Font("Consolas", Font.PLAIN, 12));
btnSnake.setBounds(10, 500, 300, 25);
btnTikTakToe.setBounds(630, 500, 300, 25);
btnMouse.setBounds(320, 500, 300, 25);
btnTextadventure.setBounds(940, 500, 300, 25);
btnSnake.setBounds(10, yAbschnitt, 300, 25);
btnTikTakToe.setBounds(630, yAbschnitt, 300, 25);
btnMouse.setBounds(320, yAbschnitt, 300, 25);
btnTextadventure.setBounds(940, yAbschnitt, 300, 25);
contentPane.add(btnSnake);
contentPane.add(btnMouse);

Loading…
Cancel
Save