fix(main...FileHandler): Created a list to store units before writing to file.
What are the key features of this change
After feedback, created a list to store all units before writing the units to a file. This to save resources. This branch closes issue #13 (closed).
Size of change: Small
List changes with class/type-of-changes
- FileHandler/writeArmyToFile()
- Army/getAllUnits()
Checklist
-
Javadoc -
Tests -
Build tool test passed