MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / setInterceptionsCount

Method setInterceptionsCount

src/Geoscape/DogfightState.cpp:1681–1686  ·  view source on GitHub ↗

* Sets interceptions count. Used to properly position the window. * @param count Amount of interception windows. */

Source from the content-addressed store, hash-verified

1679 * @param count Amount of interception windows.
1680 */
1681void DogfightState::setInterceptionsCount(const size_t count)
1682{
1683 _interceptionsCount = count;
1684 calculateWindowPosition();
1685 moveWindow();
1686}
1687
1688/**
1689 * Calculates dogfight window position according to

Callers 1

startDogfightMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected