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

Method lstSoldiersClick

src/Basescape/SoldiersState.cpp:189–192  ·  view source on GitHub ↗

* Shows the selected soldier's info. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

187 * @param action Pointer to an action.
188 */
189void SoldiersState::lstSoldiersClick(Action *)
190{
191 _game->pushState(new SoldierInfoState(_game, _base, _lstSoldiers->getSelectedRow()));
192}
193
194}

Callers

nothing calls this directly

Calls 2

pushStateMethod · 0.80
getSelectedRowMethod · 0.80

Tested by

no test coverage detected