| 178 | } |
| 179 | |
| 180 | LuaThread BehaviorState::nodeLuaThread(String const& funcName) { |
| 181 | LuaThread thread = m_threads.maybeTakeLast().value(m_luaContext.engine().createThread()); |
| 182 | thread.pushFunction(m_functions.get(funcName)); |
| 183 | return thread; |
| 184 | } |
| 185 | |
| 186 | NodeStatus BehaviorState::runNode(BehaviorNode const& node, NodeState& state) { |
| 187 | NodeStatus status = NodeStatus::Invalid; |
nothing calls this directly
no test coverage detected