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