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

Method checkOpen

source/game/StarDungeonGenerator.cpp:1082–1086  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1080 }
1081
1082 bool DungeonGeneratorWriter::checkOpen(Vec2I position, TileLayer layer) {
1083 if (m_terrainMarkingSurfaceLevel)
1084 return position.y() >= *m_terrainMarkingSurfaceLevel;
1085 return m_facade->checkOpen(position, layer);
1086 }
1087
1088 bool DungeonGeneratorWriter::checkLiquid(Vec2I const& position) {
1089 return m_facade->checkOceanLiquid(position);

Callers 1

checkTileCanPlaceMethod · 0.45

Calls 1

yMethod · 0.80

Tested by

no test coverage detected