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

Method setTurretType

src/Savegame/BattleUnit.cpp:2021–2024  ·  view source on GitHub ↗

* Set the turret type. -1 is no turret. * @param turretType */

Source from the content-addressed store, hash-verified

2019 * @param turretType
2020 */
2021void BattleUnit::setTurretType(int turretType)
2022{
2023 _turretType = turretType;
2024}
2025
2026/**
2027 * Get the turret type. -1 is no turret.

Callers 2

addXCOMVehicleMethod · 0.80
deployAliensMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected