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

Method setCharging

src/Savegame/BattleUnit.cpp:2414–2417  ·  view source on GitHub ↗

* Set the units we are charging towards. * @param chargeTarget Charge Target */

Source from the content-addressed store, hash-verified

2412 * @param chargeTarget Charge Target
2413 */
2414void BattleUnit::setCharging(BattleUnit *chargeTarget)
2415{
2416 _charging = chargeTarget;
2417}
2418
2419/**
2420 * Get the units we are charging towards.

Callers 3

thinkMethod · 0.80
meleeActionMethod · 0.80
postPathProceduresMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected