diff --git a/src/main/java/game/StartDarkSoulsGame.java b/src/main/java/game/StartDarkSoulsGame.java index c9ae0dc..96d6bf1 100644 --- a/src/main/java/game/StartDarkSoulsGame.java +++ b/src/main/java/game/StartDarkSoulsGame.java @@ -13,29 +13,18 @@ import javax.swing.JFrame; import javax.swing.JLabel; public class StartDarkSoulsGame { - JPanel titleNamePanel; - JLabel titelNameLabel; - JPanel StartButtonPanel; - JPanel mainTextPanel; - JPanel choiceButtonPanel; - JPanel playerPanel; + JLabel titelNameLabel, hpLabel, hpLabelNumber, weaponLabelName, weaponLabel; + JPanel titleNamePanel, StartButtonPanel,playerPanel, mainTextPanel,choiceButtonPanel; JTextArea mainTextArea; - JLabel hpLabel; - JLabel hpLabelNumber; - JLabel weaponLabel; - JLabel weaponLabelName; Font titelFont = new Font("Times new Roman", Font.PLAIN, 90); Font normalFont = new Font ("Times new Roman", Font.PLAIN, 27); - JButton startButton; - JButton StartButton, choice1, choice2, choice3, choice4; + JButton startButton, StartButton, choice1, choice2, choice3, choice4; Container con; TitelScreenHandler tsHandler= new TitelScreenHandler(); ChoiceHandler choiceHandler = new ChoiceHandler(); - int playerHP ; - String position; - String weapon; - int monsterHP; - int AshuraRing; + int playerHP, monsterHP, AshuraRing; + String position, weapon; + public StartDarkSoulsGame() { gui.status = 1; gui.Frame.setSize(800, 600);