Browse Source

set title name panel & start button unvisible

master
Yazan Alaamer 2 years ago
parent
commit
07b813f6c6
  1. 5
      src/main/java/game/StartDarkSoulsGame.java

5
src/main/java/game/StartDarkSoulsGame.java

@ -54,6 +54,11 @@ public class StartDarkSoulsGame {
} }
public void createGameScreen() { public void createGameScreen() {
titleNamePanel.setVisible(false);
StartButtonPanel.setVisible(false);
titleNamePanel.setVisible(false);
StartButtonPanel.setVisible(false);
mainTextPanel = new JPanel(); mainTextPanel = new JPanel();
mainTextPanel.setBounds(100, 100, 600,250); mainTextPanel.setBounds(100, 100, 600,250);
mainTextPanel.setBackground(Color.red); mainTextPanel.setBackground(Color.red);

Loading…
Cancel
Save