summaryrefslogtreecommitdiff
path: root/scene/2d/navigation_agent_2d.h
diff options
context:
space:
mode:
authorsmix8 <52464204+smix8@users.noreply.github.com>2022-06-14 23:34:43 +0200
committersmix8 <52464204+smix8@users.noreply.github.com>2022-06-15 00:18:48 +0200
commit245da150e7a3eb17435f64afd25939ad669e0901 (patch)
tree0196164bf0096f47654d4eb361b6166908451ddf /scene/2d/navigation_agent_2d.h
parentf9f3db443e1c3004f1c4418967d9c900c8923692 (diff)
Streamline Navigation layer function names.
Streamline Navigation layer function names.
Diffstat (limited to 'scene/2d/navigation_agent_2d.h')
-rw-r--r--scene/2d/navigation_agent_2d.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/2d/navigation_agent_2d.h b/scene/2d/navigation_agent_2d.h
index 4c4880f77e..0e494a0512 100644
--- a/scene/2d/navigation_agent_2d.h
+++ b/scene/2d/navigation_agent_2d.h
@@ -45,7 +45,7 @@ class NavigationAgent2D : public Node {
RID map_override;
bool avoidance_enabled = false;
- uint32_t navigable_layers = 1;
+ uint32_t navigation_layers = 1;
real_t target_desired_distance = 1.0;
real_t radius = 0.0;
@@ -85,8 +85,8 @@ public:
void set_agent_parent(Node *p_agent_parent);
- void set_navigable_layers(uint32_t p_layers);
- uint32_t get_navigable_layers() const;
+ void set_navigation_layers(uint32_t p_navigation_layers);
+ uint32_t get_navigation_layers() const;
void set_navigation_map(RID p_navigation_map);
RID get_navigation_map() const;