Skip to content

Commit a22102b

Browse files
committed
📝 add notice about goap blackboard_type requirements
1 parent d30f78e commit a22102b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ struct blackboard_type {
256256
};
257257
```
258258

259+
> **NB:** The blackboard needs to be comparable (`a == b`) and hashable.
260+
259261
Next, create a class for each action that you want to be able to perform:
260262

261263
```cpp

include/aitoolkit/goap.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ struct blackboard_type {
5050
};
5151
```
5252
53+
> **NB:** The blackboard needs to be comparable (`a == b`) and hashable.
54+
5355
Next, create a class for each action that you want to be able to perform:
5456
5557
```cpp

0 commit comments

Comments
 (0)