MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / getRandomXYByTerrainType

Method getRandomXYByTerrainType

Source/Map/Random.cpp:239–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239cPosition* cRandomMap::getRandomXYByTerrainType(eTerrainFeature pType, size_t pRadius) {
240
241 return getRandomXYByFeatures({ pType }, pRadius, true);
242}
243
244int32 cRandomMap::getDistanceBetweenPositions(cPosition* pPos1, cPosition* pPos2) {
245

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected