updateLife method

  1. @override
void updateLife(
  1. double life, {
  2. bool verifyDieOrRevive = true,
})
override

Implementation

@override
void updateLife(double life, {bool verifyDieOrRevive = true}) {
  super.updateLife(life, verifyDieOrRevive: verifyDieOrRevive);
  barLife?.updateLife(super.life);
}