Browse Source

Update

main
Justin Senn 2 years ago
parent
commit
20f5906f7e
  1. 2
      src/main/java/MenuPanel.java
  2. 2
      src/main/java/PingPong/GameFrame.java
  3. BIN
      target/classes/MenuPanel$AL.class
  4. BIN
      target/classes/PingPong/GameFrame.class
  5. BIN
      target/classes/classpath.index
  6. BIN
      target/test-classes/CollisionCheckerTest.class
  7. BIN
      target/test-classes/classpath.index

2
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();

2
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");

BIN
target/classes/MenuPanel$AL.class

BIN
target/classes/PingPong/GameFrame.class

BIN
target/classes/classpath.index

BIN
target/test-classes/CollisionCheckerTest.class

BIN
target/test-classes/classpath.index

Loading…
Cancel
Save