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

Method FallingBlocksWorld

source/game/StarWorldGeneration.cpp:143–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143FallingBlocksWorld::FallingBlocksWorld(WorldServer* w)
144 : m_worldServer(w), m_materialDatabase(Root::singleton().materialDatabase()) {}
145
146FallingBlockType FallingBlocksWorld::blockType(Vec2I const& pos) {
147 auto const& tile = m_worldServer->getServerTile(pos, true);

Callers

nothing calls this directly

Calls 2

singletonClass · 0.85
materialDatabaseMethod · 0.80

Tested by

no test coverage detected