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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user