Skip to content

Commit

Permalink
📝 add notice about goap blackboard_type requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdd committed Jan 10, 2024
1 parent d30f78e commit a22102b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ struct blackboard_type {
};
```

> **NB:** The blackboard needs to be comparable (`a == b`) and hashable.

Next, create a class for each action that you want to be able to perform:

```cpp
Expand Down
2 changes: 2 additions & 0 deletions include/aitoolkit/goap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ struct blackboard_type {
};
```
> **NB:** The blackboard needs to be comparable (`a == b`) and hashable.
Next, create a class for each action that you want to be able to perform:
```cpp
Expand Down

0 comments on commit a22102b

Please sign in to comment.