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

Method setForegroundMod

source/game/StarDungeonGenerator.cpp:993–996  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

991 }
992
993 void DungeonGeneratorWriter::setForegroundMod(Vec2I const& position, ModId mod, MaterialHue hueshift) {
994 m_foregroundMod[position] = {mod, hueshift};
995 markPosition(position);
996 }
997
998 void DungeonGeneratorWriter::setBackgroundMod(Vec2I const& position, ModId mod, MaterialHue hueshift) {
999 m_backgroundMod[position] = {mod, hueshift};

Callers 2

paintMethod · 0.45
flushMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected