Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- score - Variable in class edu.ntnu.idatt2001.carljgu.client.controllers.BattleController
- scores - Variable in class edu.ntnu.idatt2001.carljgu.client.BattleSimulationSingleton
- setBattle(Battle) - Method in class edu.ntnu.idatt2001.carljgu.client.BattleSimulationSingleton
-
Sets the current battle.
- setCurrentArmyByNumber(int, Army) - Method in class edu.ntnu.idatt2001.carljgu.client.BattleSimulationSingleton
-
Sets current army at an army index number.
- setCurrentArmyNumber(int) - Method in class edu.ntnu.idatt2001.carljgu.client.BattleSimulationSingleton
-
Sets current army index number.
- setFilePathByNumber(int, String) - Method in class edu.ntnu.idatt2001.carljgu.client.BattleSimulationSingleton
-
Sets file path at an army index number.
- setHeader(String) - Method in class edu.ntnu.idatt2001.carljgu.client.dialogs.DialogBoxBuilder
-
Add header to the dialog box builder configuration.
- setHealth(int) - Method in class edu.ntnu.idatt2001.carljgu.battle.units.Unit
-
Sets health.
- setImage(String) - Method in class edu.ntnu.idatt2001.carljgu.client.dialogs.DialogBoxBuilder
-
Add image to the dialog box builder configuration.
- setImage(Image) - Method in class edu.ntnu.idatt2001.carljgu.client.dialogs.DialogBox
-
Sets the graphic of the alert to a given image.
- setImportedLinesSkipped(List<String>) - Method in class edu.ntnu.idatt2001.carljgu.client.BattleSimulationSingleton
-
Sets which lines were skipped during import.
- setListMessage(List<String>) - Method in class edu.ntnu.idatt2001.carljgu.client.dialogs.DialogBox
-
Adds a list view node to the expandable content of the dialog.
- setListMessage(List<String>) - Method in class edu.ntnu.idatt2001.carljgu.client.dialogs.DialogBoxBuilder
-
Adds a list message for the dialog box.
- setMessage(String) - Method in class edu.ntnu.idatt2001.carljgu.client.dialogs.DialogBoxBuilder
-
Set message to the dialog box builder configuration.
- setName(String) - Method in class edu.ntnu.idatt2001.carljgu.battle.Army
-
Sets the army's name
- setOriginalArmyByNumber(int, Army) - Method in class edu.ntnu.idatt2001.carljgu.client.BattleSimulationSingleton
-
Sets original army at an army index number.
- setScoreByNumber(int, int) - Method in class edu.ntnu.idatt2001.carljgu.client.BattleSimulationSingleton
-
Sets score at an army index number.
- setTitle(String) - Method in class edu.ntnu.idatt2001.carljgu.client.dialogs.DialogBoxBuilder
-
Set title to the dialog box builder configuration.
- simulate() - Method in class edu.ntnu.idatt2001.carljgu.battle.Battle
-
Simulate a battle.
- SimulationAttack - Class in edu.ntnu.idatt2001.carljgu.battle
-
Deprecated.Provided no extra functionality and made the program harder to read. Additionally, it had high unnecessary coupling with Army and Unit. 06.05.2022
- SimulationAttack(Army, Unit, Army, Unit, Terrain) - Constructor for class edu.ntnu.idatt2001.carljgu.battle.SimulationAttack
-
Deprecated.The constructor for a simulation attack.
- stage - Static variable in class edu.ntnu.idatt2001.carljgu.client.App
- start(Stage) - Method in class edu.ntnu.idatt2001.carljgu.client.App
-
Overridden from Application.
- strengthAndUnitRepresentation() - Method in class edu.ntnu.idatt2001.carljgu.battle.Army
-
Another method for return a representation of the army.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form