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

Method orderCancelPsi

game/ui/tileview/battleview.cpp:2907–2915  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2905}
2906
2907void BattleView::orderCancelPsi()
2908{
2909 if (battle.battleViewSelectedUnits.empty())
2910 {
2911 return;
2912 }
2913
2914 battle.battleViewSelectedUnits.front()->stopAttackPsi(*state);
2915}
2916
2917void BattleView::orderPsiAttack(StateRef<BattleUnit> u, PsiStatus status, bool right)
2918{

Callers 1

BattleViewMethod · 0.95

Calls 2

emptyMethod · 0.80
stopAttackPsiMethod · 0.80

Tested by

no test coverage detected