|
|
@ -13,3 +13,13 @@ public class MenuPanel extends JPanel { |
|
|
|
super.paintComponent(g); |
|
|
|
draw(g); |
|
|
|
} |
|
|
|
public void draw(Graphics g) { |
|
|
|
g.setColor(Color.WHITE); |
|
|
|
g.setFont(new Font("Consolas", Font.BOLD, 70)); |
|
|
|
g.drawString("GAME MENU", 330, 100); |
|
|
|
g.setFont(new Font("Consolas", Font.BOLD, 30)); |
|
|
|
g.drawString("Press 'ENTER' to start the game", 265, 200); |
|
|
|
g.setFont(new Font("Consolas", Font.PLAIN, 10)); |
|
|
|
g.drawString("Created by Hells Gamers", 450, 450); |
|
|
|
|
|
|
|
} |