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

Method otherDungeonPresent

source/game/StarDungeonGenerator.cpp:1092–1094  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1090 }
1091
1092 bool DungeonGeneratorWriter::otherDungeonPresent(Vec2I position) {
1093 return m_facade->getDungeonIdAt(position) != NoDungeonId;
1094 }
1095
1096 void DungeonGeneratorWriter::setDungeonId(Vec2I const& pos, DungeonId dungeonId) {
1097 m_dungeonIds[pos] = dungeonId;

Callers 1

canPlaceMethod · 0.80

Calls 1

getDungeonIdAtMethod · 0.80

Tested by

no test coverage detected