Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ visitRegion
Method
visitRegion
source/game/StarFallingBlocksAgent.cpp:74–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
72
}
73
74
void FallingBlocksAgent::visitRegion(RectI const& region) {
75
for (int x = region.xMin() - 1; x <= region.xMax(); ++x) {
76
for (int y = region.yMin(); y <= region.yMax(); ++y)
77
m_pending.add({x, y});
78
}
79
}
80
81
}
Callers
1
activateLiquidRegion
Method · 0.45
Calls
5
xMin
Method · 0.80
xMax
Method · 0.80
yMin
Method · 0.80
yMax
Method · 0.80
add
Method · 0.45
Tested by
no test coverage detected