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

Method visitLocation

source/game/StarFallingBlocksAgent.cpp:70–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void FallingBlocksAgent::visitLocation(Vec2I const& location) {
71 visitRegion(RectI::withSize(location, Vec2I(1, 1)));
72}
73
74void FallingBlocksAgent::visitRegion(RectI const& region) {
75 for (int x = region.xMin() - 1; x <= region.xMax(); ++x) {

Callers 8

replaceTilesMethod · 0.45
collectLiquidMethod · 0.45
updateTileEntityTilesMethod · 0.45
modifyServerTileMethod · 0.45
modifyLiquidMethod · 0.45
destroyBlockMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected