summaryrefslogtreecommitdiff
path: root/scene/2d/tile_map.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2021-09-07 11:59:46 -0300
committerGitHub <noreply@github.com>2021-09-07 11:59:46 -0300
commit93aa158b5e1b3b11c3482834504e791c3898baf0 (patch)
treedd0de472b6a31e4878a765025990d08977619320 /scene/2d/tile_map.h
parent88c3e3180a52b2460429dfc031555392394fd97d (diff)
parent4bd7700e89f4476a3b2c76e7bed4263a111b3c09 (diff)
Merge pull request #52277 from groud/implement_array_property_hint
Implement properties arrays in the Inspector.
Diffstat (limited to 'scene/2d/tile_map.h')
-rw-r--r--scene/2d/tile_map.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/2d/tile_map.h b/scene/2d/tile_map.h
index 4e2d76a7b7..3ac50fc7cc 100644
--- a/scene/2d/tile_map.h
+++ b/scene/2d/tile_map.h
@@ -308,8 +308,10 @@ public:
static void draw_tile(RID p_canvas_item, Vector2i p_position, const Ref<TileSet> p_tile_set, int p_atlas_source_id, Vector2i p_atlas_coords, int p_alternative_tile, Color p_modulation = Color(1.0, 1.0, 1.0, 1.0));
// Layers management.
- void set_layers_count(int p_layers_count);
int get_layers_count() const;
+ void add_layer(int p_to_pos);
+ void move_layer(int p_layer, int p_to_pos);
+ void remove_layer(int p_layer);
void set_layer_name(int p_layer, String p_name);
String get_layer_name(int p_layer) const;
void set_layer_enabled(int p_layer, bool p_visible);