Bud can run and explore buildings
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user