Skip to content

Commit

Permalink
Add missing line to solution of task 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ll-nick committed Dec 3, 2024
1 parent 9b0c0ef commit 9c55f50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/tasks/2_extend_arbitration_graph.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ explicit PacmanAgent(const entt::Game& game)
// Add the ChaseGhost behavior component to the priority arbitrator (before the AvoidGhost behavior component!)
rootArbitrator_->addOption(chaseGhostBehavior_, PriorityArbitrator::Option::Flags::INTERRUPTABLE);
rootArbitrator_->addOption(avoidGhostBehavior_, PriorityArbitrator::Option::Flags::INTERRUPTABLE);
rootArbitrator_->addOption(eatClosestDotBehavior_, PriorityArbitrator::Option::Flags::INTERRUPTABLE);
rootArbitrator_->addOption(moveRandomlyBehavior_, PriorityArbitrator::Option::Flags::INTERRUPTABLE);
}
```
Expand Down

0 comments on commit 9c55f50

Please sign in to comment.