diff options
author | smix8 <52464204+smix8@users.noreply.github.com> | 2022-06-14 23:34:43 +0200 |
---|---|---|
committer | smix8 <52464204+smix8@users.noreply.github.com> | 2022-06-15 00:18:48 +0200 |
commit | 245da150e7a3eb17435f64afd25939ad669e0901 (patch) | |
tree | 0196164bf0096f47654d4eb361b6166908451ddf /scene/2d/navigation_agent_2d.h | |
parent | f9f3db443e1c3004f1c4418967d9c900c8923692 (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.h | 6 |
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; |