diff options
author | smix8 <52464204+smix8@users.noreply.github.com> | 2023-01-27 01:30:27 +0100 |
---|---|---|
committer | smix8 <52464204+smix8@users.noreply.github.com> | 2023-01-27 11:23:34 +0100 |
commit | 1809915bce31c4e056b828f9ffe2b4c40ee488be (patch) | |
tree | 8c0d27e05d941e331f3692a3779eb7a955aa2e90 /scene/resources/tile_set.h | |
parent | 63b5adf8a85f6f2f222d048bd4975490b6afd9a8 (diff) | |
download | redot-engine-1809915bce31c4e056b828f9ffe2b4c40ee488be.tar.gz |
Add TileSet helper functions to set/get navigation layer values
Adds helper functions to TileSet to set / get navigation layers bitmask values.
Diffstat (limited to 'scene/resources/tile_set.h')
-rw-r--r-- | scene/resources/tile_set.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/resources/tile_set.h b/scene/resources/tile_set.h index c2ed798f2b..2d8c2bd5bd 100644 --- a/scene/resources/tile_set.h +++ b/scene/resources/tile_set.h @@ -475,6 +475,8 @@ public: void remove_navigation_layer(int p_index); void set_navigation_layer_layers(int p_layer_index, uint32_t p_layers); uint32_t get_navigation_layer_layers(int p_layer_index) const; + void set_navigation_layer_layer_value(int p_layer_index, int p_layer_number, bool p_value); + bool get_navigation_layer_layer_value(int p_layer_index, int p_layer_number) const; // Custom data int get_custom_data_layers_count() const; |