|
|
@ -220,6 +220,15 @@ public class StartDarkSoulsGame { |
|
|
|
choice3.setText(""); |
|
|
|
choice4.setText(""); |
|
|
|
} |
|
|
|
public void west() { |
|
|
|
position = "west"; |
|
|
|
mainTextArea.setText("you are encounter with THE SOUl OF CINDER.\n" |
|
|
|
+ "THE SOUl OF CINDER: ashen one long time no see \n hhhhhhhhhhhhhhhh "); |
|
|
|
choice1.setText("Fight"); |
|
|
|
choice2.setText("Run for your live"); |
|
|
|
choice3.setText(""); |
|
|
|
choice4.setText(""); |
|
|
|
} |
|
|
|
|
|
|
|
public class TitelScreenHandler implements ActionListener{ |
|
|
|
public void actionPerformed(ActionEvent event) { |
|
|
@ -254,7 +263,7 @@ public class StartDarkSoulsGame { |
|
|
|
case "c1": north(); break; |
|
|
|
case "c2": east(); break; |
|
|
|
case "c3": townGate(); break; |
|
|
|
case "c4": break; |
|
|
|
case "c4":west(); break; |
|
|
|
} |
|
|
|
break; |
|
|
|
case "north": |
|
|
@ -268,6 +277,11 @@ public class StartDarkSoulsGame { |
|
|
|
break; |
|
|
|
} |
|
|
|
break; |
|
|
|
case "west": |
|
|
|
switch(yourChoice) { |
|
|
|
case "c1": break; |
|
|
|
case "c2": crossRoad(); break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|