| 552 | } |
| 553 | |
| 554 | bool TileSet::has_source(int p_source_id) const { |
| 555 | return sources.has(p_source_id); |
| 556 | } |
| 557 | |
| 558 | Ref<TileSetSource> TileSet::get_source(int p_source_id) const { |
| 559 | ERR_FAIL_COND_V_MSG(!sources.has(p_source_id), nullptr, vformat("No TileSet atlas source with id %d.", p_source_id)); |
no test coverage detected