Also fix method qualifiers.

This commit is contained in:
Relintai 2023-06-11 18:35:22 +02:00
parent 975e5c4a9e
commit 6b95f31b70
4 changed files with 8 additions and 8 deletions

View File

@ -83,7 +83,7 @@ void NavigationPathQueryParameters2D::set_map(const RID &p_map) {
parameters.map = p_map;
}
const RID NavigationPathQueryParameters2D::get_map() const {
RID NavigationPathQueryParameters2D::get_map() const {
return parameters.map;
}

View File

@ -70,7 +70,7 @@ public:
PathPostProcessing get_path_postprocessing() const;
void set_map(const RID &p_map);
const RID get_map() const;
RID get_map() const;
void set_start_position(const Vector2 p_start_position);
Vector2 get_start_position() const;

View File

@ -83,7 +83,7 @@ void NavigationPathQueryParameters3D::set_map(const RID &p_map) {
parameters.map = p_map;
}
const RID NavigationPathQueryParameters3D::get_map() const {
RID NavigationPathQueryParameters3D::get_map() const {
return parameters.map;
}
@ -91,7 +91,7 @@ void NavigationPathQueryParameters3D::set_start_position(const Vector3 &p_start_
parameters.start_position = p_start_position;
}
const Vector3 NavigationPathQueryParameters3D::get_start_position() const {
Vector3 NavigationPathQueryParameters3D::get_start_position() const {
return parameters.start_position;
}
@ -99,7 +99,7 @@ void NavigationPathQueryParameters3D::set_target_position(const Vector3 &p_targe
parameters.target_position = p_target_position;
}
const Vector3 NavigationPathQueryParameters3D::get_target_position() const {
Vector3 NavigationPathQueryParameters3D::get_target_position() const {
return parameters.target_position;
}

View File

@ -69,13 +69,13 @@ public:
PathPostProcessing get_path_postprocessing() const;
void set_map(const RID &p_map);
const RID get_map() const;
RID get_map() const;
void set_start_position(const Vector3 &p_start_position);
const Vector3 get_start_position() const;
Vector3 get_start_position() const;
void set_target_position(const Vector3 &p_target_position);
const Vector3 get_target_position() const;
Vector3 get_target_position() const;
void set_navigation_layers(uint32_t p_navigation_layers);
uint32_t get_navigation_layers() const;