Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
71
void Spawner::activateEmptyRegion(RectF region) {
72
for (auto const& cell : cellIndexesForRange(region))
73
m_activeSpawnCells[cell] = m_spawnCellLifetime;
74
}
75
76
void Spawner::update(float dt) {
77
if (!m_facade)
Callers
1
addClient
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected