| 766 | } |
| 767 | |
| 768 | bool Part::tileUsesPlaces(Vec2I pos) const { |
| 769 | bool result = false; |
| 770 | m_reader->forEachTileAt(pos, |
| 771 | [&result](Vec2I, Tile const& tile) -> bool { |
| 772 | if (tile.usesPlaces()) { |
| 773 | result = true; |
| 774 | return true; |
| 775 | } |
| 776 | return false; |
| 777 | }); |
| 778 | return result; |
| 779 | } |
| 780 | |
| 781 | Direction Part::pickByEdge(Vec2I position, Vec2U size) const { |
| 782 | int dxa = position[0]; |
nothing calls this directly
no test coverage detected