addLife method

  1. @override
void addLife(
  1. double life
)
override

Increase life

Implementation

@override
void addLife(double life) {
  super.addLife(life);
  _animateBar();
}