mirror of
https://github.com/Klagarge/PokeHES.git
synced 2024-11-26 11:03:28 +00:00
fix error of merge
This commit is contained in:
parent
b67798adb5
commit
769adeeeca
@ -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<Attack> getAllAttacks(){
|
||||
return attacks;
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user