Browse Source

Merge pull request #24509 from guilhermefelipecgs/fix_24273

Add bind for TileMap::get_cell_autotile_coord
Rémi Verschelde 6 years ago
parent
commit
0b774d47e6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      scene/2d/tile_map.cpp

+ 2 - 0
scene/2d/tile_map.cpp

@@ -1631,6 +1631,8 @@ void TileMap::_bind_methods() {
 	ClassDB::bind_method(D_METHOD("is_cell_y_flipped", "x", "y"), &TileMap::is_cell_y_flipped);
 	ClassDB::bind_method(D_METHOD("is_cell_transposed", "x", "y"), &TileMap::is_cell_transposed);
 
+	ClassDB::bind_method(D_METHOD("get_cell_autotile_coord", "x", "y"), &TileMap::get_cell_autotile_coord);
+
 	ClassDB::bind_method(D_METHOD("fix_invalid_tiles"), &TileMap::fix_invalid_tiles);
 	ClassDB::bind_method(D_METHOD("clear"), &TileMap::clear);