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

Method btnLaunchClick

src/Battlescape/BattlescapeState.cpp:1155–1159  ·  view source on GitHub ↗

* Launches the blaster bomb. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

1153 * @param action Pointer to an action.
1154 */
1155void BattlescapeState::btnLaunchClick(Action *action)
1156{
1157 _battleGame->launchAction();
1158 action->getDetails()->type = SDL_NOEVENT; // consume the event
1159}
1160
1161/**
1162 * Uses psionics.

Callers

nothing calls this directly

Calls 2

launchActionMethod · 0.80
getDetailsMethod · 0.80

Tested by

no test coverage detected