diff --git a/src/Text/FightData.java b/src/Text/FightData.java index be5c7d8..ffd508a 100644 --- a/src/Text/FightData.java +++ b/src/Text/FightData.java @@ -12,7 +12,7 @@ public class FightData { private File file; private static String regex = ";"; - public int nbre_line =0; + public int nbr_line =0; public FightData(String branch) { file = new File("./Data/Battle/Fight/" + branch + ".csv"); @@ -46,7 +46,7 @@ public class FightData { } - //return the vector with all attaks of one enemi + //return the vector with all attacks of one enemy public Vector getAllAttacks(){ return attacks; } diff --git a/src/Text/TextEnemy.java b/src/Text/TextEnemy.java index 35a336c..d7001d4 100644 --- a/src/Text/TextEnemy.java +++ b/src/Text/TextEnemy.java @@ -2,7 +2,6 @@ package Text; import Entity.Enemy; import java.util.Vector; -import java.util.Arrays; import java.util.Random; public class TextEnemy { @@ -79,7 +78,7 @@ public class TextEnemy { int[] currentRandom = new int[5]; currentRandom[0] = orderAttack[j]; - //generate a random array to determin the order of the answer + //generate a random array to determine the order of the answer orderAnswer = randomGenerate(0, 3, 4); //save the order of answer and attack