|
|
@ -22,7 +22,7 @@ public class StartDarkSoulsGame { |
|
|
|
Container con; |
|
|
|
TitelScreenHandler tsHandler= new TitelScreenHandler(); |
|
|
|
ChoiceHandler choiceHandler = new ChoiceHandler(); |
|
|
|
int playerHP, monsterHP, AshuraRing; |
|
|
|
int playerHP, monsterHP, AshuraRing, fill_hp; |
|
|
|
String position, weapon; |
|
|
|
|
|
|
|
public StartDarkSoulsGame() { |
|
|
@ -197,8 +197,12 @@ public class StartDarkSoulsGame { |
|
|
|
} |
|
|
|
public void north() { |
|
|
|
position= "north"; |
|
|
|
if (fill_hp < 1) { |
|
|
|
mainTextArea.setText("You Are at Siofra River.\n this Water is blessed Drink it. \n (+ 2HP)"); |
|
|
|
playerHP = playerHP +2; |
|
|
|
fill_hp++; |
|
|
|
} |
|
|
|
else { mainTextArea.setText("You can only dring 1 time");} |
|
|
|
hpLabelNumber.setText(""+ playerHP); |
|
|
|
choice1.setText("GO south"); |
|
|
|
choice2.setText(""); |
|
|
|