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

Method activateEmptyRegion

source/game/StarSpawner.cpp:71–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71void Spawner::activateEmptyRegion(RectF region) {
72 for (auto const& cell : cellIndexesForRange(region))
73 m_activeSpawnCells[cell] = m_spawnCellLifetime;
74}
75
76void Spawner::update(float dt) {
77 if (!m_facade)

Callers 1

addClientMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected