|
|
@ -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; |
|
|
@ -128,6 +129,11 @@ public class StartDarkSoulsGame { |
|
|
|
weaponLabel.setForeground(Color.white); |
|
|
|
playerPanel.add(weaponLabel); |
|
|
|
|
|
|
|
weaponLabelName = new JLabel(); |
|
|
|
weaponLabelName.setFont(normalFont); |
|
|
|
weaponLabelName.setForeground(Color.white); |
|
|
|
playerPanel.add(weaponLabelName); |
|
|
|
|
|
|
|
con.add(playerPanel); |
|
|
|
} |
|
|
|
public class TitelScreenHandler implements ActionListener{ |
|
|
|