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

Method debugVortex

game/ui/tileview/battleview.cpp:2443–2449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2441}
2442
2443void BattleView::debugVortex()
2444{
2445 auto vortex = StateRef<AEquipmentType>(state.get(), "AEQUIPMENTTYPE_VORTEX_MINE");
2446 state->current_battle->addExplosion(
2447 *state, selectedTilePosition, vortex->explosion_graphic, vortex->damage_type,
2448 vortex->damage, vortex->explosion_depletion_rate, state->current_battle->currentPlayer);
2449}
2450
2451void BattleView::debugShot(Vec3<float> velocity)
2452{

Callers

nothing calls this directly

Calls 2

addExplosionMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected