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