Skip to content

fix(main...FileHandler): Created a list to store units before writing to file.

Runar Halvorsen Indahl requested to merge fix/file_management into main

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

Merge request reports