Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
R
- RANGED_UNIT - Enum constant in enum class edu.ntnu.idatt2001.carljgu.battle.units.UnitType
- RangedUnit - Class in edu.ntnu.idatt2001.carljgu.battle.units.specialized
-
Class RangedUnit that inherits from Unit.
- RangedUnit(String, int) - Constructor for class edu.ntnu.idatt2001.carljgu.battle.units.specialized.RangedUnit
-
Instantiates a new Ranged unit with a simplified constructor.
- RangedUnit(String, int, int, int) - Constructor for class edu.ntnu.idatt2001.carljgu.battle.units.specialized.RangedUnit
-
Instantiates a new Ranged unit.
- readableName - Variable in enum class edu.ntnu.idatt2001.carljgu.battle.Terrain
- readArmyFromFile(String) - Method in class edu.ntnu.idatt2001.carljgu.filehandling.ArmyFileHandler
-
Finds a specified csv file and converts it to an army if it can.
- readLinesSkipped - Variable in class edu.ntnu.idatt2001.carljgu.filehandling.ArmyFileHandler
- recurringDialogMessage - Static variable in class edu.ntnu.idatt2001.carljgu.client.dialogs.DialogBoxBuilder
- remove(Unit) - Method in class edu.ntnu.idatt2001.carljgu.battle.Army
-
Remove a specified unit.
- resetAndBattleButton - Variable in class edu.ntnu.idatt2001.carljgu.client.controllers.BattleController
- resetArmies() - Method in class edu.ntnu.idatt2001.carljgu.client.controllers.BattleController
-
Run when clicking on reset armies.
- resetArmiesButton - Variable in class edu.ntnu.idatt2001.carljgu.client.controllers.BattleController
- resetScores() - Method in class edu.ntnu.idatt2001.carljgu.client.BattleSimulationSingleton
-
Fills the array with scores with zeroes
- RESIST_BONUS - Variable in class edu.ntnu.idatt2001.carljgu.battle.units.specialized.CavalryUnit
- RESIST_BONUS - Variable in class edu.ntnu.idatt2001.carljgu.battle.units.specialized.InfantryUnit
- run(String[]) - Static method in class edu.ntnu.idatt2001.carljgu.client.App
-
Method called from Main when the program is run Calls on launch in Application
- runSimulation() - Method in class edu.ntnu.idatt2001.carljgu.client.controllers.BattleController
-
Run when clicking on the button reset and run.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form