initialLife method

void initialLife(
  1. double life
)

Implementation

void initialLife(double life) {
  _life = life;
  _maxLife = life;
}