Skip to content

Commit

Permalink
Tune Task 1: Implement a Behavior Component
Browse files Browse the repository at this point in the history
  • Loading branch information
orzechow committed Nov 18, 2024
1 parent 0a22a1b commit 67fcec3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/tasks/1_implement_behavior_component.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Finish the implementation of the `checkInvocationCondition()` and `getCommand()`

## Instructions

- Run the unit tests and note that the `ChaseGhost` `scheckInvocationConditionFalse` test is failing
- Open the implementation of the `ChaseGhost` behavior component in `src/chase_ghost_behavior.cpp`.
- The `checkInvocationCondition()` function is already implemented but does not check for the presence of a ghost.
- Implement the missing piece. Take a look at the implementation of `AvoidGhostBehavior::checkInvocationCondition()` if you need inspiration.
Expand Down

0 comments on commit 67fcec3

Please sign in to comment.