Browse Source

Update

main
fdai4616 2 years ago
parent
commit
9ced690896
  1. 2
      src/main/java/GamePanel.java
  2. 12
      src/main/java/MenuPanel.java

2
src/main/java/GamePanel.java

@ -0,0 +1,2 @@
public class GamePanel {
}

12
src/main/java/MenuPanel.java

@ -1,2 +1,12 @@
public class MenuPanel {
import javax.swing.*;
import java.awt.*;
public class MenuPanel extends JPanel {
MenuPanel() {
this.addKeyListener(new MenuPanel.AL());
this.setBackground(Color.BLACK);
this.setFocusable(true);
this.setPreferredSize(GamePanel.SCREEN);
} }
Loading…
Cancel
Save