Bud can run and explore buildings

This commit is contained in:
Bram verhulst
2025-05-25 20:38:31 +02:00
parent 7d797fa207
commit d5262a332d
15 changed files with 1219 additions and 76 deletions

View File

@@ -1,6 +1,7 @@
#include <Exam_HelperStructs.h>
#include "Blackboard.h"
namespace BT
{
enum class State
@@ -87,7 +88,9 @@ namespace BT
class Action final : public IBehavior
{
public:
explicit Action(std::function<State(Blackboard*)> fp) : m_ActionPtr(std::move(fp)) {}
explicit Action(std::function<State(Blackboard*)> fp)
: m_ActionPtr(std::move(fp)) {
}
State Execute(Blackboard* blackboardPtr) override;
private: