• Why we need Battle to be a class?

Question related to mission Army Battles

 

Hi there, I don't get it even after the resolution: what's the point of letting Battle be a class? Wouldn't a function that takes two arguments, both Army classes, suffice?