This PR refactores the entire unit update scheme. Instead of closure-based helper functions, everything has been moved into dedicated modules with clear dependencies. Unfortunately a lot of them take the entire mutable game as a dependency, but that was the reality before as well.
This PR refactores the entire unit update scheme. Instead of closure-based helper functions, everything has been moved into dedicated modules with clear dependencies. Unfortunately a lot of them take the entire mutable game as a dependency, but that was the reality before as well.
Fixes #62