1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2025-09-13 21:09:55 +00:00
This commit is contained in:
Fastium
2022-06-13 21:54:10 +02:00
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;
}