diff options
| author | Scayze | 2017-09-07 16:11:48 +0200 |
|---|---|---|
| committer | Scayze | 2017-09-07 19:15:46 +0200 |
| commit | 6872cc7b122e366d366a3883b462d51a8d2b00ec (patch) | |
| tree | 93d1bfd97d3e79a193c92922ec88d358504ebba2 /core/math/a_star.h | |
| parent | 36e91b07d8523ec23306ae0f2491523d8577554c (diff) | |
| download | godot-6872cc7b122e366d366a3883b462d51a8d2b00ec.tar.gz godot-6872cc7b122e366d366a3883b462d51a8d2b00ec.tar.zst godot-6872cc7b122e366d366a3883b462d51a8d2b00ec.zip | |
Add get_points method to AStar
Diffstat (limited to 'core/math/a_star.h')
| -rw-r--r-- | core/math/a_star.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/math/a_star.h b/core/math/a_star.h index 75b860d0a..38d13d510 100644 --- a/core/math/a_star.h +++ b/core/math/a_star.h @@ -105,6 +105,7 @@ public: real_t get_point_weight_scale(int p_id) const; void remove_point(int p_id); bool has_point(int p_id) const; + Array get_points(); void connect_points(int p_id, int p_with_id, bool bidirectional = true); void disconnect_points(int p_id, int p_with_id); |
