|
|
@ -30,7 +30,8 @@ public class StartDarkSoulsGame { |
|
|
|
JButton StartButton, choice1, choice2, choice3, choice4; |
|
|
|
Container con; |
|
|
|
TitelScreenHandler tsHandler= new TitelScreenHandler(); |
|
|
|
int playerHP ; // comit (19) add player hp |
|
|
|
int playerHP ; |
|
|
|
String weapon; |
|
|
|
|
|
|
|
public StartDarkSoulsGame() { |
|
|
|
gui.Frame.setSize(800, 600); |
|
|
@ -140,7 +141,9 @@ public class StartDarkSoulsGame { |
|
|
|
} |
|
|
|
public void PlayerSetup() { |
|
|
|
playerHP = 15; |
|
|
|
hpLabelNumber.setText(""+ playerHP); |
|
|
|
hpLabelNumber.setText(""+ playerHP); |
|
|
|
weapon = "Knife"; |
|
|
|
weaponLabelName.setText(weapon); |
|
|
|
} |
|
|
|
|
|
|
|
public class TitelScreenHandler implements ActionListener{ |
|
|
|