diff options
author | Gilles Roudière <gilles.roudiere@gmail.com> | 2021-09-10 16:23:36 +0200 |
---|---|---|
committer | Gilles Roudière <gilles.roudiere@gmail.com> | 2021-09-23 17:24:37 +0200 |
commit | f9e6329496cafae1ee1f285d89f38abd6a2ed1bd (patch) | |
tree | 136bcdc26ea26291657ed715755ccd1857158971 /scene/2d/tile_map.h | |
parent | 8c8feb3ebdeeeee89133fc22516bab94801b5a09 (diff) |
Implement animated tiles
Diffstat (limited to 'scene/2d/tile_map.h')
-rw-r--r-- | scene/2d/tile_map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/tile_map.h b/scene/2d/tile_map.h index 3ac50fc7cc..ca38baa550 100644 --- a/scene/2d/tile_map.h +++ b/scene/2d/tile_map.h @@ -305,7 +305,7 @@ public: void set_quadrant_size(int p_size); int get_quadrant_size() const; - 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)); + 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, int p_frame = -1, Color p_modulation = Color(1.0, 1.0, 1.0, 1.0)); // Layers management. int get_layers_count() const; |