|
|
@ -268,7 +268,19 @@ public class StartDarkSoulsGame { |
|
|
|
choice3.setText(""); |
|
|
|
choice4.setText(""); |
|
|
|
} |
|
|
|
|
|
|
|
public void lose() { |
|
|
|
position = "lose"; |
|
|
|
mainTextArea.setText("You are Dead. \n" |
|
|
|
+ "DU NPC hhhhhhhhhhhhh"); |
|
|
|
choice1.setText(">"); |
|
|
|
choice2.setText(""); |
|
|
|
choice3.setText(""); |
|
|
|
choice4.setText(""); |
|
|
|
choice1.setVisible(false); |
|
|
|
choice2.setVisible(false); |
|
|
|
choice3.setVisible(false); |
|
|
|
choice4.setVisible(false); |
|
|
|
} |
|
|
|
public class TitelScreenHandler implements ActionListener{ |
|
|
|
public void actionPerformed(ActionEvent event) { |
|
|
|
createGameScreen(); |
|
|
|