updateLife method

void updateLife(
  1. double life
)

Implementation

void updateLife(double life) {
  _life = life;
  _textSize = _textConfig.getLineMetrics(_getLifeText()).size;
}