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

Method btnPurchaseClick

src/Basescape/BasescapeState.cpp:332–335  ·  view source on GitHub ↗

* Goes to the Purchase screen. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

330 * @param action Pointer to an action.
331 */
332void BasescapeState::btnPurchaseClick(Action *)
333{
334 _game->pushState(new PurchaseState(_game, _base));
335}
336
337/**
338 * Goes to the Sell screen.

Callers

nothing calls this directly

Calls 1

pushStateMethod · 0.80

Tested by

no test coverage detected