diff --git a/src/main/java/game/StartDarkSoulsGame.java b/src/main/java/game/StartDarkSoulsGame.java index 622df09..feb9cfe 100644 --- a/src/main/java/game/StartDarkSoulsGame.java +++ b/src/main/java/game/StartDarkSoulsGame.java @@ -23,6 +23,7 @@ public class StartDarkSoulsGame { 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, 28); JButton startButton; @@ -126,7 +127,12 @@ public class StartDarkSoulsGame { weaponLabel = new JLabel("Weapon:"); weaponLabel.setFont(normalFont); weaponLabel.setForeground(Color.white); - playerPanel.add(weaponLabel); + playerPanel.add(weaponLabel); + + weaponLabelName = new JLabel(); + weaponLabelName.setFont(normalFont); + weaponLabelName.setForeground(Color.white); + playerPanel.add(weaponLabelName); con.add(playerPanel); }