From def9b358965f37cba43ee78e51e8a1ce92b96ee6 Mon Sep 17 00:00:00 2001 From: fdai7551 Date: Wed, 1 Feb 2023 09:52:34 +0100 Subject: [PATCH] =?UTF-8?q?[SnakeGame=20Class]:=20Logik=20=C3=BCberdacht;?= =?UTF-8?q?=20weitere=20Variablen=20inizialisiert=20und=20definiert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../de/hs_fulda/gruppenprojekt/JavaGamelauncher/SnakeGame.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/SnakeGame.java b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/SnakeGame.java index 5989a70..531256a 100644 --- a/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/SnakeGame.java +++ b/JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/SnakeGame.java @@ -44,6 +44,8 @@ public class SnakeGame extends JFrame { public int breite = 1200; public int hoehe = 600; public String titel = "Snake"; + public int hoeheP = 100; + public int breiteP = 100; public static void main(String[] args) { EventQueue.invokeLater(new Runnable() {