From 20f5906f7e6a25f224100e932df5ee79f781aa9b Mon Sep 17 00:00:00 2001 From: Justin Senn Date: Wed, 8 Feb 2023 23:10:17 +0100 Subject: [PATCH] Update --- src/main/java/MenuPanel.java | 2 +- src/main/java/PingPong/GameFrame.java | 2 +- target/classes/MenuPanel$AL.class | Bin 858 -> 858 bytes target/classes/PingPong/GameFrame.class | Bin 844 -> 844 bytes target/classes/classpath.index | Bin 236 -> 0 bytes .../test-classes/CollisionCheckerTest.class | Bin 3056 -> 3271 bytes target/test-classes/classpath.index | Bin 106 -> 0 bytes 7 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 target/classes/classpath.index delete mode 100644 target/test-classes/classpath.index diff --git a/src/main/java/MenuPanel.java b/src/main/java/MenuPanel.java index 5c0d587..95560f9 100644 --- a/src/main/java/MenuPanel.java +++ b/src/main/java/MenuPanel.java @@ -40,7 +40,7 @@ public class MenuPanel extends JPanel { public void keyPressed(KeyEvent e) { if (e.getKeyCode() == KeyEvent.VK_1) { - new PingPong.GamePanel(); + new PingPong.GameFrame(); } if (e.getKeyCode() == KeyEvent.VK_2) { BShip game = new BShip(); diff --git a/src/main/java/PingPong/GameFrame.java b/src/main/java/PingPong/GameFrame.java index 6f87f8e..f7c6dbd 100644 --- a/src/main/java/PingPong/GameFrame.java +++ b/src/main/java/PingPong/GameFrame.java @@ -5,7 +5,7 @@ import java.awt.*; public class GameFrame extends JFrame { GamePanel panel; - GameFrame(){ + public GameFrame(){ panel = new GamePanel(); this.add(panel); this.setTitle("2D Ping-Pong"); diff --git a/target/classes/MenuPanel$AL.class b/target/classes/MenuPanel$AL.class index 9ca14ab545398e22e2815b6c13e65aaaeee47136..c4c17e16eaa8db6f8e3886f39eee8edea96a4b08 100644 GIT binary patch delta 16 Ycmcb`c8hJoAy&7d#N5=4$0suZ06hT*5C8xG delta 16 Ycmcb`c8hJoA=ZGzywseH$0suZ06ifG6#xJL diff --git a/target/classes/PingPong/GameFrame.class b/target/classes/PingPong/GameFrame.class index bf5657e7bb0dba9d6a6217c6f5eaf0a3d1448a1f..4de88caa27957137a53692d30d108951bc388066 100644 GIT binary patch delta 13 VcmX@Zc7|=kY$is=$#a-C001MV1l0fl delta 13 VcmX@Zc7|=kY$isA$#a-C001MQ1k?Zk diff --git a/target/classes/classpath.index b/target/classes/classpath.index deleted file mode 100644 index e5601ba6687866fe5f67169b1375ec07be4b98ca..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 236 zcmb1OU}0cjU<6_qP-1^jv#RyHMPZbpSdA5L!wg;Cl{2Dqr^Dps_OE*2ciWLW94g@R z1H$N;3Zj4XgUBEc5Xr!>Jq$uKFx;5{V}a=Vg%9i)7|KsGFmxQBd>8PukSvJr!=&MBYBZz~Jt{!0u`9YlP)W2Q(7#J9A8NxPlEo7VgiOq_UYqKspBP%B(LkLiUi6ImK9r6m9 diff --git a/target/test-classes/classpath.index b/target/test-classes/classpath.index deleted file mode 100644 index c12ec5a406bff3daf4a3c42dccde54fba71c1ffc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 106 ucmb1OU}QiAa{E_3@Vo8Et%fR$#@l)ZO#saG&0$~&JG49=RgTFA#0LQFtq8&Z