MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / isAttacking

Method isAttacking

game/state/battle/battleunit.cpp:1424–1424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1422}
1423
1424bool BattleUnit::isAttacking() const { return weaponStatus != WeaponStatus::NotFiring; }
1425
1426bool BattleUnit::isThrowing() const { return isDoing(BattleUnitMission::Type::ThrowItem); }
1427

Callers 4

thinkInternalMethod · 0.80
thinkMethod · 0.80
inProgressInternalMethod · 0.80
thinkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected