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