@ -0,0 +1,2 @@
public class GamePanel {
}
@ -1,2 +1,15 @@
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);
protected void paintComponent(Graphics g) {
super.paintComponent(g);
draw(g);
@ -0,0 +1 @@
#!/usr/bin/bash