| 89 | } |
| 90 | |
| 91 | bool AIAction::inProgress(BattleUnit &u) |
| 92 | { |
| 93 | if (inProgressInternal(u)) |
| 94 | { |
| 95 | executed = true; |
| 96 | return true; |
| 97 | } |
| 98 | return false; |
| 99 | } |
| 100 | |
| 101 | bool AIAction::isFinished(BattleUnit &u) { return !inProgress(u) && executed; } |
| 102 |
no outgoing calls
no test coverage detected