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

Method checkSolid

source/game/StarDungeonGenerator.cpp:1076–1080  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1074 }
1075
1076 bool DungeonGeneratorWriter::checkSolid(Vec2I position, TileLayer layer) {
1077 if (m_terrainMarkingSurfaceLevel)
1078 return position.y() < *m_terrainMarkingSurfaceLevel;
1079 return m_facade->checkSolid(position, layer);
1080 }
1081
1082 bool DungeonGeneratorWriter::checkOpen(Vec2I position, TileLayer layer) {
1083 if (m_terrainMarkingSurfaceLevel)

Callers 1

checkTileCanPlaceMethod · 0.45

Calls 1

yMethod · 0.80

Tested by

no test coverage detected