chore: removed debug print calls
This commit is contained in:
parent
51bd3733c4
commit
f2cf79d704
|
@ -29,14 +29,12 @@ void Unit::stop_plan() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Unit::plan_for_marker(GoalMarker *marker) {
|
void Unit::plan_for_marker(GoalMarker *marker) {
|
||||||
gd::UtilityFunctions::print("plan_for_marker on ", this->get_path());
|
|
||||||
this->destroy_state();
|
this->destroy_state();
|
||||||
this->world_state->set_target_node(marker);
|
this->world_state->set_target_node(marker);
|
||||||
this->plan_for_goal(marker->get_goal());
|
this->plan_for_goal(marker->get_goal());
|
||||||
}
|
}
|
||||||
|
|
||||||
void Unit::plan_for_goal(gd::Ref<goap::Goal> goal) {
|
void Unit::plan_for_goal(gd::Ref<goap::Goal> goal) {
|
||||||
gd::UtilityFunctions::print("plan_for_goal on ", this->get_path());
|
|
||||||
this->current_plan = this->planner->plan_for_goal(goal);
|
this->current_plan = this->planner->plan_for_goal(goal);
|
||||||
this->next_action();
|
this->next_action();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue