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

Method wrapPosition

source/game/StarDungeonGenerator.cpp:966–968  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

964 }
965
966 Vec2I DungeonGeneratorWriter::wrapPosition(Vec2I const& pos) const {
967 return m_facade->getWorldGeometry().xwrap(pos);
968 }
969
970 void DungeonGeneratorWriter::setMarkDungeonId(Maybe<DungeonId> dungeonId) {
971 m_markDungeonId = dungeonId;

Callers 1

buildDungeonMethod · 0.80

Calls 2

getWorldGeometryMethod · 0.80
xwrapMethod · 0.45

Tested by

no test coverage detected