1
0
mirror of https://github.com/Klagarge/PokeHES.git synced 2025-10-30 11:19:17 +00:00
This commit is contained in:
Fastium
2022-06-16 23:29:36 +02:00
parent 3e96178c0f
commit 790fd9d4ec
9 changed files with 51 additions and 178 deletions

View File

@@ -12,13 +12,10 @@ public class FightData {
private File file;
private static String regex = ";";
public int nbre_line =0;
public FightData(String branch) {
file = new File("./Data/Battle/Fight/" + branch + ".csv");
}
public void readFile() {
@@ -54,7 +51,7 @@ public class FightData {
return attacks;
}
//return the vector with one attak
//return the vector with one attack
public Attack getAttack(int a){
return attacks.get(a);
}