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

Method update

src/Battlescape/MedikitState.cpp:304–309  ·  view source on GitHub ↗

* Updates the medikit state. */

Source from the content-addressed store, hash-verified

302 * Updates the medikit state.
303 */
304void MedikitState::update()
305{
306 _pkText->setText(toString(_item->getPainKillerQuantity()));
307 _stimulantTxt->setText(toString(_item->getStimulantQuantity()));
308 _healTxt->setText(toString(_item->getHealQuantity()));
309}
310
311}

Callers

nothing calls this directly

Calls 5

toStringFunction · 0.85
setTextMethod · 0.45
getPainKillerQuantityMethod · 0.45
getStimulantQuantityMethod · 0.45
getHealQuantityMethod · 0.45

Tested by

no test coverage detected