MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / forEachTile

Method forEachTile

source/game/StarDungeonGenerator.cpp:749–751  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

747 }
748
749 void Part::forEachTile(TileCallback const& callback) const {
750 m_reader->forEachTile(callback);
751 }
752
753 void Part::placePhase(Vec2I pos, Phase phase, Set<Vec2I> const& places, DungeonGeneratorWriter* writer) const {
754 m_reader->forEachTile([&places, pos, phase, writer](Vec2I tilePos, Tile const& tile) -> bool {

Callers 7

collidesWithPlacesMethod · 0.45
canPlaceMethod · 0.45
placePhaseMethod · 0.45
scanConnectorsMethod · 0.45
scanAnchorMethod · 0.45
buildDungeonMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected