summaryrefslogtreecommitdiffstats
path: root/servers/navigation_server_2d_dummy.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/navigation_server_2d_dummy.h')
-rw-r--r--servers/navigation_server_2d_dummy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/navigation_server_2d_dummy.h b/servers/navigation_server_2d_dummy.h
index d64a9454aa..d380ca5242 100644
--- a/servers/navigation_server_2d_dummy.h
+++ b/servers/navigation_server_2d_dummy.h
@@ -58,6 +58,7 @@ public:
TypedArray<RID> map_get_agents(RID p_map) const override { return TypedArray<RID>(); }
TypedArray<RID> map_get_obstacles(RID p_map) const override { return TypedArray<RID>(); }
void map_force_update(RID p_map) override {}
+ Vector2 map_get_random_point(RID p_map, uint32_t p_naviation_layers, bool p_uniformly) const override { return Vector2(); };
RID region_create() override { return RID(); }
void region_set_enabled(RID p_region, bool p_enabled) override {}
@@ -80,6 +81,7 @@ public:
int region_get_connections_count(RID p_region) const override { return 0; }
Vector2 region_get_connection_pathway_start(RID p_region, int p_connection_id) const override { return Vector2(); }
Vector2 region_get_connection_pathway_end(RID p_region, int p_connection_id) const override { return Vector2(); }
+ Vector2 region_get_random_point(RID p_region, uint32_t p_navigation_layers, bool p_uniformly) const override { return Vector2(); };
RID link_create() override { return RID(); }
void link_set_map(RID p_link, RID p_map) override {}