A C++ Behavior Tree implementation and FFI bridging to an Electron app allowing editing and previewing a simulated BT in real-time
auto behaviorTree = BehaviorTree::build()
.select()
.conditon(PlayerVisible)
.conditon(CanFire)
.task(FireAtPlayer)
.sequence()
.task(MoveToPlayer)
.task(Wait)
.close()
.task(Idle)
.close()
.end();
And an Electron editor app

