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

Merge branch 'master' into add-FabLab

This commit is contained in:
Rémi Heredero
2022-06-17 08:56:31 +02:00
committed by GitHub
8 changed files with 46 additions and 47 deletions

View File

@@ -12,13 +12,10 @@ public class FightData {
private File file;
private static String regex = ";";
public int nbr_line =0;
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);
}