@ -0,0 +1,2 @@
public class GamePanel {
}
@ -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);