|
@@ -3838,7 +3838,7 @@ void TileMap::set_texture_repeat(CanvasItem::TextureRepeat p_texture_repeat) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-TypedArray<Vector2i> TileMap::get_surrounding_tiles(Vector2i coords) {
|
|
|
+TypedArray<Vector2i> TileMap::get_surrounding_cells(Vector2i coords) {
|
|
|
if (!tile_set.is_valid()) {
|
|
|
return TypedArray<Vector2i>();
|
|
|
}
|
|
@@ -4012,7 +4012,7 @@ void TileMap::_bind_methods() {
|
|
|
|
|
|
ClassDB::bind_method(D_METHOD("force_update", "layer"), &TileMap::force_update, DEFVAL(-1));
|
|
|
|
|
|
- ClassDB::bind_method(D_METHOD("get_surrounding_tiles", "coords"), &TileMap::get_surrounding_tiles);
|
|
|
+ ClassDB::bind_method(D_METHOD("get_surrounding_cells", "coords"), &TileMap::get_surrounding_cells);
|
|
|
|
|
|
ClassDB::bind_method(D_METHOD("get_used_cells", "layer"), &TileMap::get_used_cells);
|
|
|
ClassDB::bind_method(D_METHOD("get_used_rect"), &TileMap::get_used_rect);
|