refactor: added singleton class to hold information for controllers
- May 20, 2022
-
-
Carl Gützkow authored
-
Carl Gützkow authored42a03eb4
-
Added a BattleSimulationSingleton class which holds the information of the original and current armies, current battle, scores, filepaths and more. This removes coupling between the BattleController and EditArmyController. Also moved tests into other packages for structure.
closes: None