mirror of
https://github.com/Klagarge/PokeHES.git
synced 2025-10-30 03:11:05 +00:00
should work
This commit is contained in:
@@ -11,14 +11,15 @@ public class FightData {
|
||||
private File file;
|
||||
private static final String REGEX = ",";
|
||||
|
||||
|
||||
|
||||
public int nbre_line =0;
|
||||
|
||||
public FightData(String name) {
|
||||
file = new File("./resources/Battle/Fight/" + name + ".csv");
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void readFile() {
|
||||
Attack attack;
|
||||
String line = "";
|
||||
@@ -43,7 +44,8 @@ public class FightData {
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
System.out.println(attacks.size());
|
||||
|
||||
|
||||
}
|
||||
|
||||
//return the vector with all attaks of one enemi
|
||||
@@ -56,6 +58,10 @@ public class FightData {
|
||||
return attacks.get(a);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user