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

Merge pull request #43 from Klagarge:end-game

finsh text end
This commit is contained in:
Fastium
2022-06-16 19:15:25 +02:00
committed by GitHub
7 changed files with 94 additions and 10 deletions

View File

@ -31,10 +31,8 @@ public class FightData {
//add the line in the vector attacks of attack
line = bf.readLine();
System.out.println(line);
while(line != null){
String[] a = line.split(regex);//change the regex if it is another
System.out.println(a.length);
attack = new Attack(a[0], a[1], a[2], a[3], a[4], Integer.valueOf(a[5]));
attacks.add(attack);
line = bf.readLine();