MCPcopy 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
74void 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

activateLiquidRegionMethod · 0.45

Calls 5

xMinMethod · 0.80
xMaxMethod · 0.80
yMinMethod · 0.80
yMaxMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected