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

Method setBackgroundMaterial

source/game/StarDungeonGenerator.cpp:988–991  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

986 }
987
988 void DungeonGeneratorWriter::setBackgroundMaterial(Vec2I const& position, MaterialId material, MaterialHue hueshift, MaterialColorVariant colorVariant) {
989 m_backgroundMaterial[position] = {material, hueshift, colorVariant};
990 markPosition(position);
991 }
992
993 void DungeonGeneratorWriter::setForegroundMod(Vec2I const& position, ModId mod, MaterialHue hueshift) {
994 m_foregroundMod[position] = {mod, hueshift};

Callers 2

paintMethod · 0.45
flushMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected