| 71 | |
| 72 | template<class Fn> |
| 73 | static bool updateUntil(int maxSteps, Fn&& fn) |
| 74 | { |
| 75 | while (maxSteps-- && !fn()) |
| 76 | { |
| 77 | gameStateUpdateLogic(); |
| 78 | } |
| 79 | return maxSteps > 0; |
| 80 | } |
| 81 | |
| 82 | template<class GA, class... Args> |
| 83 | static void execute(Args&&... args) |
no test coverage detected