feat: added goals to Planner
This commit is contained in:
parent
4847d82533
commit
662ede04e9
|
@ -59,12 +59,15 @@ public:
|
|||
void set_actions(Array actions);
|
||||
Array get_actions() const;
|
||||
|
||||
void set_goals(Array goals);
|
||||
Array get_goals() const;
|
||||
private:
|
||||
CharacterActor *actor{nullptr}; // the parent actor of this planner
|
||||
WorldState cached_world_state{}; // the cached worldstate, cleared for every make_plan call
|
||||
GlobalWorldState *global_world_state{nullptr}; // cached singleton instance
|
||||
// configured settings
|
||||
Vector<Ref<Action>> actions{}; // available actions
|
||||
Vector<Ref<Goal>> goals{}; // available goals
|
||||
};
|
||||
|
||||
struct PlannerNodeHasher {
|
||||
|
|
Loading…
Reference in a new issue