| 18 | }; |
| 19 | |
| 20 | Blackboard::Blackboard(LuaTable luaContext) : m_luaContext(std::move(luaContext)) { |
| 21 | for (auto type : BlackboardTypes) { |
| 22 | m_board.set(type, {}); |
| 23 | m_input.set(type, {}); |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | void Blackboard::set(NodeParameterType type, String const& key, LuaValue value) { |
| 28 | if (value.is<LuaNilType>()) |