diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-12-21 10:08:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-21 10:08:03 +0100 |
commit | 0b774d47e65538007e744aaa19bab0b4e19eaf6b (patch) | |
tree | 037660f105ca004179ed3d9b9273c3bffae3b3ef | |
parent | 83c3cba64098fd11d3a4527ec7e3f5e19854cb29 (diff) | |
parent | 9eb4bb044feb54fa5b45a3f29f111510df248128 (diff) |
Merge pull request #24509 from guilhermefelipecgs/fix_24273
Add bind for TileMap::get_cell_autotile_coord
-rw-r--r-- | scene/2d/tile_map.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/2d/tile_map.cpp b/scene/2d/tile_map.cpp index 0f2d69e0f3..37886861e0 100644 --- a/scene/2d/tile_map.cpp +++ b/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); |