| 55 | } |
| 56 | |
| 57 | void AIBlockUnit::reset(GameState &state, BattleUnit &u) |
| 58 | { |
| 59 | ticksLastThink = state.gameTime.getTicks(); |
| 60 | ticksLastOutOfOrderThink = 0; |
| 61 | ticksUntilReThink = randBoundsExclusive(state.rng, 0, (int)TICKS_PER_SECOND); |
| 62 | |
| 63 | for (auto &ai : aiList) |
| 64 | { |
| 65 | ai->reset(state, u); |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | // void AIBlockUnit::reportExecuted(AIAction &action) |
| 70 | //{ |
no test coverage detected