feat: removed Planner::_process
This commit is contained in:
parent
662ede04e9
commit
e1fd4b8e8d
|
@ -65,10 +65,7 @@ void Planner::_bind_methods() {
|
|||
|
||||
void Planner::_ready() {
|
||||
this->global_world_state = GlobalWorldState::get_singleton();
|
||||
}
|
||||
|
||||
void Planner::_process(double delta_time) {
|
||||
this->cached_world_state.clear();
|
||||
this->actor = Object::cast_to<CharacterActor>(this->get_parent());
|
||||
}
|
||||
|
||||
static Vector<Ref<Action>> trace_path(FromMap &map, PlannerNode &end) {
|
||||
|
|
|
@ -45,7 +45,6 @@ class Planner : public Node {
|
|||
static void _bind_methods();
|
||||
public:
|
||||
virtual void _ready() override;
|
||||
virtual void _process(double delta_time) override;
|
||||
|
||||
Array gdscript_make_plan(Ref<Goal> goal);
|
||||
Vector<Ref<Action>> make_plan(Ref<Goal> goal);
|
||||
|
|
Loading…
Reference in a new issue