1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2025-07-07 17:01:10 +00:00

fonctionniert

This commit is contained in:
Fastium
2022-06-13 21:38:00 +02:00
parent 47b86dd6c8
commit 2d2095a65a
5 changed files with 26 additions and 2 deletions

View File

@ -31,8 +31,10 @@ public class Battle {
public void readNextLine(){
//change line
lineSpeech++;
System.out.println(textEnemy.lines.size());
if(lineSpeech < textEnemy.lines.size()-1){
lineSpeech++;
}
}
//check the choice answer
@ -66,6 +68,11 @@ public class Battle {
}
public boolean finish(){
return false;
}
public boolean getAttackOn(){
return textEnemy.lines.get(lineSpeech).attackOn;
}