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

Method setLiquid

source/game/StarDungeonGenerator.cpp:978–981  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

976 }
977
978 void DungeonGeneratorWriter::setLiquid(Vec2I const& pos, LiquidStore const& liquid) {
979 m_liquids[pos] = liquid;
980 markPosition(pos);
981 }
982
983 void DungeonGeneratorWriter::setForegroundMaterial(Vec2I const& position, MaterialId material, MaterialHue hueshift, MaterialColorVariant colorVariant) {
984 m_foregroundMaterial[position] = {material, hueshift, colorVariant};

Callers 2

paintMethod · 0.45
flushMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected