Skip to content

feat: simulation attacks are now stored in a log

Carl Gützkow requested to merge feat/attacklog into master

Created a class to store an attack from an attacker to a defender. It does not however remove a unit from an army if that unit is dead. The battle class should have that control over the armies. This is becuase of coheasion. The SimulationClass should only have control a singe attack. Also added an arraylist of the attacks in the battle class.

closes: #11 (closed)

Edited by Carl Gützkow

Merge request reports