runAction method

  1. @override
bool runAction(
  1. double dt,
  2. BonfireGameInterface game
)
override

Implementation

@override
bool runAction(double dt, BonfireGameInterface game) {
  if (whileThis(game)) {
    doThis(component);
    return false;
  } else {
    component.stopMove();
    return true;
  }
}