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

Method setHorizontalPosition

src/Savegame/CraftWeaponProjectile.cpp:144–147  ·  view source on GitHub ↗

* Sets the x position of the projectile on the radar. * It's used only once for each projectile during firing. */

Source from the content-addressed store, hash-verified

142 * It's used only once for each projectile during firing.
143 */
144void CraftWeaponProjectile::setHorizontalPosition(int position)
145{
146 _horizontalPosition = position;
147}
148
149/*
150 * Gets the x position of the projectile.

Callers 3

fireWeapon1Method · 0.80
fireWeapon2Method · 0.80
ufoFireWeaponMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected