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

Method moreEngineerPress

src/Basescape/ManufactureInfoState.cpp:289–292  ·  view source on GitHub ↗

* Starts the timerMoreEngineer. * @param action A pointer to an Action. */

Source from the content-addressed store, hash-verified

287 * @param action A pointer to an Action.
288 */
289void ManufactureInfoState::moreEngineerPress(Action * action)
290{
291 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) _timerMoreEngineer->start();
292}
293
294/**
295 * Stops the timerMoreEngineer.

Callers

nothing calls this directly

Calls 2

getDetailsMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected