Browse Source

added town Gate area & dialouge

master
Yazan Alaamer 2 years ago
parent
commit
5401b93a61
  1. 8
      src/main/java/game/StartDarkSoulsGame.java

8
src/main/java/game/StartDarkSoulsGame.java

@ -149,6 +149,14 @@ public class StartDarkSoulsGame {
hpLabelNumber.setText(""+ playerHP);
weapon = "Knife";
weaponLabelName.setText(weapon);
townGate();
}
public void townGate() {
mainTextArea.setText("You are at the Gate of the town.\n A guard is standing in front of you. WHAT DO YOU DO !?");
choice1.setText("Talk to the gurad ");
choice2.setText("Attack the guard");
choice3.setText("Leave");
choice4.setText("");
}
public class TitelScreenHandler implements ActionListener{

Loading…
Cancel
Save