From 5401b93a6117256d76162ecee6750dda26e3a81d Mon Sep 17 00:00:00 2001 From: Yazan Alaamer Date: Fri, 20 Jan 2023 21:54:08 +0100 Subject: [PATCH] added town Gate area & dialouge --- src/main/java/game/StartDarkSoulsGame.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/game/StartDarkSoulsGame.java b/src/main/java/game/StartDarkSoulsGame.java index 7dcfebd..1fa2408 100644 --- a/src/main/java/game/StartDarkSoulsGame.java +++ b/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{