|
|
@ -22,6 +22,7 @@ public class StartDarkSoulsGame { |
|
|
|
JTextArea mainTextArea; |
|
|
|
JLabel hpLabel; |
|
|
|
JLabel hpLabelNumber; |
|
|
|
JLabel weaponLabel; |
|
|
|
Font titelFont = new Font("Times new Roman", Font.PLAIN, 90); |
|
|
|
Font normalFont = new Font ("Times new Roman", Font.PLAIN, 28); |
|
|
|
JButton startButton; |
|
|
@ -122,6 +123,11 @@ public class StartDarkSoulsGame { |
|
|
|
hpLabelNumber.setForeground(Color.white); |
|
|
|
playerPanel.add(hpLabelNumber); |
|
|
|
|
|
|
|
weaponLabel = new JLabel("Weapon:"); |
|
|
|
weaponLabel.setFont(normalFont); |
|
|
|
weaponLabel.setForeground(Color.white); |
|
|
|
playerPanel.add(weaponLabel); |
|
|
|
|
|
|
|
con.add(playerPanel); |
|
|
|
} |
|
|
|
public class TitelScreenHandler implements ActionListener{ |
|
|
|