Skip to content
Snippets Groups Projects
Commit 86c69571 authored by Stian Wilhelmsen's avatar Stian Wilhelmsen
Browse files

Fixed Bugs

parent bd04b304
No related branches found
No related tags found
No related merge requests found
......@@ -98,6 +98,8 @@ public class BattleResultController implements Initializable {
public void resetArmies(javafx.event.ActionEvent event) throws IOException{
currentHumanArmy = readArmyFromFile(new File("src/main/resources/Files/quickResetHumanArmy.csv"));
currentOrcArmy = readArmyFromFile(new File("src/main/resources/Files/quickResetOrcArmy.csv"));
writeArmyToFile(new File("src/main/resources/Files/humanArmy.csv"), currentHumanArmy);
writeArmyToFile(new File("src/main/resources/Files/orcArmy.csv"), currentOrcArmy);
displayBothArmies();
winningList.getItems().clear();
}
......
HumanArmy
CommanderUnit,Kammdor,51
CommanderUnit,Kammdor,27
CommanderUnit,Kammdor,49
CommanderUnit,Kammdor,56
CommanderUnit,Kammdor,31
CommanderUnit,Kammdor,40
CommanderUnit,Kammdor,26
CommanderUnit,Kammdor,38
CommanderUnit,Kammdor,31
CommanderUnit,Kammdor,82
CommanderUnit,Cavalry,42
CavalryUnit,Cavalry,2
CavalryUnit,Cavalry,2
CavalryUnit,Cavalry,4
RangedUnit,Ranged,26
RangedUnit,Ranged,24
RangedUnit,Ranged,54
RangedUnit,Ranged,14
RangedUnit,Ranged,40
RangedUnit,Ranged,6
RangedUnit,Ranged,52
RangedUnit,Ranged,24
InfantryUnit,Infantry,29
InfantryUnit,Infantry,55
InfantryUnit,Infantry,61
InfantryUnit,Infantry,36
InfantryUnit,Infantry,55
InfantryUnit,Infantry,21
InfantryUnit,Infantry,51
InfantryUnit,Infantry,46
InfantryUnit,Infantry,57
InfantryUnit,Infantry,50
HumanArmy
CommanderUnit,Kammdor,51
CommanderUnit,Kammdor,38
CommanderUnit,Kammdor,60
CommanderUnit,Kammdor,78
CommanderUnit,Kammdor,31
CommanderUnit,Kammdor,40
CommanderUnit,Kammdor,26
CommanderUnit,Kammdor,60
CommanderUnit,Kammdor,46
CommanderUnit,Kammdor,82
CommanderUnit,Cavalry,100
CavalryUnit,Cavalry,100
CavalryUnit,Cavalry,100
CavalryUnit,Cavalry,100
CavalryUnit,Cavalry,100
CavalryUnit,Cavalry,100
CavalryUnit,Cavalry,100
CavalryUnit,Cavalry,100
CavalryUnit,Cavalry,100
CavalryUnit,Cavalry,100
CavalryUnit,Cavalry,100
RangedUnit,Ranged,100
RangedUnit,Ranged,100
RangedUnit,Ranged,100
RangedUnit,Ranged,100
RangedUnit,Ranged,100
RangedUnit,Ranged,100
RangedUnit,Ranged,100
RangedUnit,Ranged,100
RangedUnit,Ranged,100
RangedUnit,Ranged,100
InfantryUnit,Infantry,100
InfantryUnit,Infantry,100
InfantryUnit,Infantry,100
InfantryUnit,Infantry,100
InfantryUnit,Infantry,100
InfantryUnit,Infantry,100
InfantryUnit,Infantry,100
InfantryUnit,Infantry,100
InfantryUnit,Infantry,100
InfantryUnit,Infantry,100
OrcArmy
CommanderUnit,1,100
CavalryUnit,Cavalry,41
CavalryUnit,Cavalry,2
RangedUnit,Ranged,2
RangedUnit,Ranged,4
RangedUnit,Ranged,8
RangedUnit,Ranged,36
RangedUnit,Ranged,18
RangedUnit,Ranged,16
InfantryUnit,Infantry,2
InfantryUnit,Infantry,20
InfantryUnit,Infantry,6
InfantryUnit,Infantry,14
CommanderUnit,Commander,100
CavalryUnit,Cavalry,100
CavalryUnit,Cavalry,100
CavalryUnit,Cavalry,100
CavalryUnit,Cavalry,100
CavalryUnit,Cavalry,100
CavalryUnit,Cavalry,100
CavalryUnit,Cavalry,100
CavalryUnit,Cavalry,100
RangedUnit,Ranged,100
RangedUnit,Ranged,100
RangedUnit,Ranged,100
RangedUnit,Ranged,100
InfantryUnit,Infantry,100
InfantryUnit,Infantry,100
InfantryUnit,Infantry,100
InfantryUnit,Infantry,100
InfantryUnit,Infantry,100
InfantryUnit,Infantry,100
......@@ -15,11 +15,6 @@
-fx-font-size: 20px;
}
.primaryBackground {
-fx-background-image: url("../Images/primaryBackground.jpg");
-fx-background-size: 100% 100%;
}
.menuControllerBackground {
-fx-background-image: url("../Images/MenuBackground.png");
-fx-background-size: 100% 100%;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment