Right before coverage destroys everything.
This commit is contained in:
parent
1d2968f826
commit
c4611c0138
9 changed files with 54 additions and 46 deletions
|
@ -15,6 +15,15 @@ namespace combat {
|
|||
ai::set(start, name, setting);
|
||||
}
|
||||
|
||||
/*
|
||||
* BUG: I don't like this, maybe an iterator is better?
|
||||
*/
|
||||
ai::Action RitualAI::pop() {
|
||||
auto result = plan.script.front();
|
||||
plan.script.pop_front();
|
||||
return result;
|
||||
}
|
||||
|
||||
void RitualAI::update() {
|
||||
plan = ai::plan(script, start, goal);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue