Add bt::nop node

This commit is contained in:
Nikita Lisitsa 2022-11-20 13:43:46 +03:00
parent 8688b84982
commit 144916adae

View file

@ -0,0 +1,15 @@
#pragma once
#include <psemek/bt/action.hpp>
#include <psemek/util/functional.hpp>
namespace psemek::bt
{
template <typename Tree>
node_ptr<Tree> nop()
{
return action<Tree>(util::nop);
}
}